summary refs log tree commit diff
path: root/pkgs/development/python-modules/inotify/default.nix
blob: 64737035193bf9bc755d3f5f03eec0923a2f4443 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
  };

  nativeCheckInputs = [
    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;
  };
}