My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pynput/default.nix

28 lines
678 B

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