pythonPackages.pyinotify: refactor move to python-modules
This commit is contained in:
parent
cd3b84706b
commit
73d1178084
25
pkgs/development/python-modules/pyinotify/default.nix
Normal file
25
pkgs/development/python-modules/pyinotify/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3368,25 +3368,7 @@ in {
|
|||||||
|
|
||||||
pyinputevent = callPackage ../development/python-modules/pyinputevent { };
|
pyinputevent = callPackage ../development/python-modules/pyinputevent { };
|
||||||
|
|
||||||
pyinotify = buildPythonPackage rec {
|
pyinotify = callPackage ../development/python-modules/pyinotify { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pyinsane2 = buildPythonPackage rec {
|
pyinsane2 = buildPythonPackage rec {
|
||||||
name = "pyinsane2-${version}";
|
name = "pyinsane2-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user