Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / aioaseko / default.nix
blobbeea7e05a750572dcbf4b61cf459cfca82d1ac50
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 , setuptools
7 , pyjwt
8 }:
10 buildPythonPackage rec {
11   pname = "aioaseko";
12   version = "0.1.1";
13   format = "pyproject";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "milanmeu";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-bjPl0yrRaTIEEuPV8NbWu2hx/es5bcu2tDBZV+95fUc=";
22   };
24   nativeBuildInputs = [
25     setuptools
26   ];
28   propagatedBuildInputs = [
29     aiohttp
30     pyjwt
31   ];
33   # Module has no tests
34   doCheck = false;
36   pythonImportsCheck = [
37     "aioaseko"
38   ];
40   meta = with lib; {
41     description = "Module to interact with the Aseko Pool Live API";
42     homepage = "https://github.com/milanmeu/aioaseko";
43     changelog = "https://github.com/milanmeu/aioaseko/releases/tag/v${version}";
44     license = with licenses; [ lgpl3Plus ];
45     maintainers = with maintainers; [ fab ];
46   };