Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / asyncinotify / default.nix
blob6fe187bfc3cf16bd64d939f2479bae65a232f1a3
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flit-core
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "asyncinotify";
11   version = "4.0.6";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "absperf";
18     repo = "asyncinotify";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-RXx6i5dIB2oySVaLoHPRGD9VKgiO5OAXmrzVBq8Ad18=";
21   };
23   nativeBuildInputs = [
24     flit-core
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "asyncinotify"
33   ];
35   pytestFlagsArray = [
36     "test.py"
37   ];
39   meta = with lib; {
40     description = "Module for inotify";
41     homepage = "https://github.com/absperf/asyncinotify/";
42     changelog = "https://github.com/absperf/asyncinotify/releases/tag/v${version}";
43     license = licenses.mit;
44     maintainers = with maintainers; [ cynerd ];
45   };