blob: 24837d824d6c92fe2266ec8f2b99fb827b119cc9 (
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
31
32
33
34
35
36
37
38
39
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "asyncinotify";
version = "4.0.9";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "absperf";
repo = "asyncinotify";
rev = "refs/tags/v${version}";
hash = "sha256-Pmv1BXmKUNjFE5h99GR0GmjYKYmTi8ECKAUCKwIAMzc=";
};
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "asyncinotify" ];
pytestFlagsArray = [ "test.py" ];
meta = with lib; {
description = "Module for inotify";
homepage = "https://github.com/absperf/asyncinotify/";
changelog = "https://github.com/absperf/asyncinotify/releases/tag/v${version}";
license = licenses.mpl20;
maintainers = with maintainers; [ cynerd ];
};
}
|