Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyatag / default.nix
blob7e7a3ba593d3545e17fbf7133f07473d6f0b9298
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "pyatag";
11   version = "0.3.7.1";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "MatsNl";
18     repo = "pyatag";
19     rev = "refs/tags/${version}";
20     hash = "sha256-3h9mpopTbEULCx7rcEt/I/ZnUA0L/fJ7Y3L5h/6EuC4=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     aiohttp
29   ];
31   # no tests implemented
32   doCheck = false;
34   pythonImportsCheck = [
35     "pyatag"
36     "pyatag.discovery"
37   ];
39   # it would use the erroneous tag 3.5.1
40   passthru.skipBulkUpdate = true;
42   meta = with lib; {
43     description = "Python module to talk to Atag One";
44     homepage = "https://github.com/MatsNl/pyatag";
45     changelog = "https://github.com/MatsNl/pyatag/releases/tag/${version}";
46     license = licenses.mit;
47     maintainers = with maintainers; [ dotlambda ];
48   };