nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "inotify-simple";
10 version = "2.0.1";
11 pyproject = true;
12
13 src = fetchPypi {
14 pname = "inotify_simple";
15 inherit version;
16 hash = "sha256-8BC7vYKDvXGp9Ost6UdlgE7eJL1HMgsObvQTblQc3Cw=";
17 };
18
19 build-system = [ setuptools ];
20
21 # The package has no tests
22 doCheck = false;
23
24 pythonImportsCheck = [ "inotify_simple" ];
25
26 meta = {
27 description = "Simple Python wrapper around inotify";
28 homepage = "https://github.com/chrisjbillington/inotify_simple";
29 license = lib.licenses.bsd2;
30 maintainers = with lib.maintainers; [ erikarvstedt ];
31 };
32}