Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / aioapcaccess / default.nix
blob6d6c7095525198056be5e7774240d7b04cd9eaba
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytest-asyncio
5 , pytestCheckHook
6 , pythonOlder
7 , setuptools
8 , setuptools-scm
9 }:
11 buildPythonPackage rec {
12   pname = "aioapcaccess";
13   version = "0.5.0";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "yuxincs";
20     repo = "aioapcaccess";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-nI8hfHfSLMOKPcG5idYqqa/msJuR/Xt+JmgzdftlN28=";
23   };
25   nativeBuildInputs = [
26     setuptools
27     setuptools-scm
28   ];
30   nativeCheckInputs = [
31     pytest-asyncio
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [
36     "aioapcaccess"
37   ];
39   meta = with lib; {
40     description = "Module for working with apcaccess";
41     homepage = "https://github.com/yuxincs/aioapcaccess";
42     changelog = "https://github.com/yuxincs/aioapcaccess/releases/tag/v${version}";
43     license = licenses.mit;
44     maintainers = with maintainers; [ fab ];
45   };