depot/third_party/nixpkgs/pkgs/development/python-modules/pyinotify/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

30 lines
630 B
Nix

{
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;
};
}