1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
nixpkgs/pkgs/development/python-modules/pynput/default.nix

29 lines
685 B
Nix
Raw Normal View History

{ lib, stdenv, buildPythonPackage, fetchPypi, sphinx, setuptools-lint, xlib, evdev }:
2020-04-24 00:18:46 +01:00
buildPythonPackage rec {
pname = "pynput";
2020-11-29 14:04:38 +00:00
version = "1.7.1";
2020-04-24 00:18:46 +01:00
src = fetchPypi {
inherit pname version;
2020-11-29 14:04:38 +00:00
sha256 = "5a5598bfb14322eff980ac6ca820635fce9028faa4f64a8e1581243aaf6785ee";
2020-04-24 00:18:46 +01:00
};
nativeBuildInputs = [ sphinx ];
propagatedBuildInputs = [ setuptools-lint xlib ]
++ stdenv.lib.optionals stdenv.isLinux [
evdev
];
2020-04-24 00:18:46 +01:00
doCheck = false;
meta = with lib; {
2020-04-24 00:18:46 +01:00
description = "A library to control and monitor input devices";
homepage = "https://github.com/moses-palmer/pynput";
license = licenses.lgpl3;
maintainers = with maintainers; [ nickhu ];
};
}