nixpkgs/pkgs/development/python-modules/pynput/default.nix
2020-12-01 14:44:17 +01:00

26 lines
623 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, sphinx, setuptools-lint, xlib }:
buildPythonPackage rec {
pname = "pynput";
version = "1.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "5a5598bfb14322eff980ac6ca820635fce9028faa4f64a8e1581243aaf6785ee";
};
nativeBuildInputs = [ sphinx ];
propagatedBuildInputs = [ setuptools-lint xlib ];
doCheck = false;
meta = with stdenv.lib; {
description = "A library to control and monitor input devices";
homepage = "https://github.com/moses-palmer/pynput";
license = licenses.lgpl3;
maintainers = with maintainers; [ nickhu ];
};
}