diff --git a/pkgs/development/python-modules/pyinputevent/default.nix b/pkgs/development/python-modules/pyinputevent/default.nix index c3d226a416c0..4b5be38ea204 100644 --- a/pkgs/development/python-modules/pyinputevent/default.nix +++ b/pkgs/development/python-modules/pyinputevent/default.nix @@ -2,20 +2,25 @@ lib, buildPythonPackage, fetchFromGitHub, + setuptools, }: buildPythonPackage { pname = "pyinputevent"; - version = "2016-10-18"; - format = "setuptools"; + version = "0.1-unstable-2015-10-18"; + + __structuredAttrs = true; + pyproject = true; src = fetchFromGitHub { owner = "ntzrmtthihu777"; repo = "pyinputevent"; rev = "d2075fa5db5d8a402735fe788bb33cf9fe272a5b"; - sha256 = "0rkis0xp8f9jc00x7jb9kbvhdla24z1vl30djqa6wy6fx0cr6sib"; + hash = "sha256-K2qTGejOeG4Ulg0MusMnQtEG95ppydMBYDI5dDvQcWY="; }; + build-system = [ setuptools ]; + meta = { homepage = "https://github.com/ntzrmtthihu777/pyinputevent"; description = "Python interface to the Input Subsystem's input_event and uinput";