about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyinotify/default.nix
blob: 8232ab456719fa67266223c88894a5a6b0abd139 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "pyinotify";
  version = "0.9.6";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1x3i9wmzw33fpkis203alygfnrkcmq9w1aydcm887jh6frfqm6cw";
  };

  patches = [ ./skip-asyncore-python-3.12.patch ];

  # No tests distributed
  doCheck = false;

  pythonImportsCheck = [ "pyinotify" ];

  meta = with lib; {
    homepage = "https://github.com/seb-m/pyinotify/wiki";
    description = "Monitor filesystems events on Linux platforms with inotify";
    license = licenses.mit;
    platforms = platforms.linux;
  };
}