diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/inotify/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/inotify/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/inotify/default.nix b/nixpkgs/pkgs/development/python-modules/inotify/default.nix new file mode 100644 index 000000000000..3590f53e1ecd --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/inotify/default.nix @@ -0,0 +1,32 @@ +{ 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; + }; +} |