pythonPackages.pyinputevent: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 09:49:50 -04:00 committed by Frederik Rietdijk
parent bf25d0a988
commit cd3b84706b
2 changed files with 25 additions and 17 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
name = "pyinputevent";
version = "2016-10-18";
src = fetchFromGitHub {
owner = "ntzrmtthihu777";
repo = "pyinputevent";
rev = "d2075fa5db5d8a402735fe788bb33cf9fe272a5b";
sha256 = "0rkis0xp8f9jc00x7jb9kbvhdla24z1vl30djqa6wy6fx0cr6sib";
};
meta = with stdenv.lib; {
homepage = "https://github.com/ntzrmtthihu777/pyinputevent";
description = "Python interface to the Input Subsystem's input_event and uinput";
license = licenses.bsd3;
platforms = platforms.linux;
};
}

View File

@ -3366,23 +3366,7 @@ in {
PyICU = callPackage ../development/python-modules/pyicu { };
pyinputevent = buildPythonPackage rec {
name = "pyinputevent-2016-10-18";
src = pkgs.fetchFromGitHub {
owner = "ntzrmtthihu777";
repo = "pyinputevent";
rev = "d2075fa5db5d8a402735fe788bb33cf9fe272a5b";
sha256 = "0rkis0xp8f9jc00x7jb9kbvhdla24z1vl30djqa6wy6fx0cr6sib";
};
meta = {
homepage = "https://github.com/ntzrmtthihu777/pyinputevent";
description = "Python interface to the Input Subsystem's input_event and uinput";
license = licenses.bsd3;
platforms = platforms.linux;
};
};
pyinputevent = callPackage ../development/python-modules/pyinputevent { };
pyinotify = buildPythonPackage rec {
name = "pyinotify-${version}";