blob: 6fe187bfc3cf16bd64d939f2479bae65a232f1a3 (
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
40
41
42
43
44
45
46
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "asyncinotify";
version = "4.0.6";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "absperf";
repo = "asyncinotify";
rev = "refs/tags/v${version}";
hash = "sha256-RXx6i5dIB2oySVaLoHPRGD9VKgiO5OAXmrzVBq8Ad18=";
};
nativeBuildInputs = [
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.mit;
maintainers = with maintainers; [ cynerd ];
};
}
|