34 lines
718 B
Nix
34 lines
718 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
inotify-simple,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "inotifyrecursive";
|
|
version = "0.3.5";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
sha256 = "sha256-osRQsxdpPkU4QW+Q6x14WFBtr+a4uIUDe9LdmuLa+h4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ inotify-simple ];
|
|
|
|
# No tests included
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "inotifyrecursive" ];
|
|
|
|
meta = {
|
|
description = "Simple recursive inotify watches for Python";
|
|
homepage = "https://github.com/letorbi/inotifyrecursive";
|
|
license = lib.licenses.lgpl3Plus;
|
|
maintainers = with lib.maintainers; [ Flakebi ];
|
|
};
|
|
})
|