1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-22 17:31:04 +03:00
nixpkgs/pkgs/development/python-modules/pynput/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
678 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";
version = "1.7.6";
2020-04-24 00:18:46 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "3a5726546da54116b687785d38b1db56997ce1d28e53e8d22fc656d8b92e533c";
2020-04-24 00:18:46 +01:00
};
nativeBuildInputs = [ sphinx ];
propagatedBuildInputs = [ setuptools-lint xlib ]
++ 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 ];
};
}