Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / adax / default.nix
blob19e1e9a6fb02d20f998a2e0629b9df6829e1b5f3
1 { lib
2 , aiohttp
3 , async-timeout
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "adax";
11   version = "0.4.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "Danielhiversen";
18     repo = "pyadax";
19     rev = "refs/tags/${version}";
20     hash = "sha256-wmcZtiML02i1XfqpFzni2WDrxutTvP5laVvTAGtNg0Y=";
21   };
23   propagatedBuildInputs = [
24     aiohttp
25     async-timeout
26   ];
28   # Project has no tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "adax"
33   ];
35   meta = with lib; {
36     description = "Python module to communicate with Adax";
37     homepage = "https://github.com/Danielhiversen/pyAdax";
38     changelog = "https://github.com/Danielhiversen/pyAdax/releases/tag/${version}";
39     license = with licenses; [ mit ];
40     maintainers = with maintainers; [ fab ];
41   };