pythonPackages.pyinotify: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 09:52:17 -04:00 committed by Frederik Rietdijk
parent cd3b84706b
commit 73d1178084
2 changed files with 26 additions and 19 deletions

View File

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pyinotify";
version = "0.9.6";
src = fetchPypi {
inherit pname version;
sha256 = "1x3i9wmzw33fpkis203alygfnrkcmq9w1aydcm887jh6frfqm6cw";
};
# No tests distributed
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/seb-m/pyinotify/wiki;
description = "Monitor filesystems events on Linux platforms with inotify";
license = licenses.mit;
platforms = platforms.linux;
};
}

View File

@ -3368,25 +3368,7 @@ in {
pyinputevent = callPackage ../development/python-modules/pyinputevent { };
pyinotify = buildPythonPackage rec {
name = "pyinotify-${version}";
version = "0.9.6";
src = pkgs.fetchurl {
url = "mirror://pypi/p/${name}/${name}.tar.gz";
sha256 = "1x3i9wmzw33fpkis203alygfnrkcmq9w1aydcm887jh6frfqm6cw";
};
# No tests distributed
doCheck = false;
meta = {
homepage = https://github.com/seb-m/pyinotify/wiki;
description = "Monitor filesystems events on Linux platforms with inotify";
license = licenses.mit;
platforms = platforms.linux;
};
};
pyinotify = callPackage ../development/python-modules/pyinotify { };
pyinsane2 = buildPythonPackage rec {
name = "pyinsane2-${version}";