python3.pkgs.inotify: init at 0.2.4

Changed files
+34
pkgs
development
python-modules
inotify
top-level
+32
pkgs/development/python-modules/inotify/default.nix
···
+
{ lib
+
, buildPythonPackage
+
, fetchFromGitHub
+
, nose
+
}:
+
+
buildPythonPackage rec {
+
pname = "inotify";
+
version = "unstable-2020-08-27";
+
+
src = fetchFromGitHub {
+
owner = "dsoprea";
+
repo = "PyInotify";
+
rev = "f77596ae965e47124f38d7bd6587365924dcd8f7";
+
sha256 = "X0gu4s1R/Kg+tmf6s8SdZBab2HisJl4FxfdwKktubVc=";
+
fetchSubmodules = false;
+
};
+
+
checkInputs = [
+
nose
+
];
+
+
# dunno what's wrong but the module works regardless
+
doCheck = false;
+
+
meta = with lib; {
+
homepage = "https://github.com/dsoprea/PyInotify";
+
description = "Monitor filesystems events on Linux platforms with inotify";
+
license = licenses.gpl2;
+
platforms = platforms.linux;
+
};
+
}
+2
pkgs/top-level/python-packages.nix
···
inkex = callPackage ../development/python-modules/inkex { };
+
inotify = callPackage ../development/python-modules/inotify { };
+
inotify-simple = callPackage ../development/python-modules/inotify-simple { };
inotifyrecursive = callPackage ../development/python-modules/inotifyrecursive { };