nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 inotify-simple,
6}:
7
8buildPythonPackage rec {
9 pname = "inotifyrecursive";
10 version = "0.3.5";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "osRQsxdpPkU4QW+Q6x14WFBtr+a4uIUDe9LdmuLa+h4=";
16 };
17
18 propagatedBuildInputs = [ inotify-simple ];
19
20 # No tests included
21 doCheck = false;
22 pythonImportsCheck = [ pname ];
23
24 meta = {
25 description = "Simple recursive inotify watches for Python";
26 homepage = "https://github.com/letorbi/inotifyrecursive";
27 license = lib.licenses.lgpl3Plus;
28 maintainers = with lib.maintainers; [ Flakebi ];
29 };
30}