ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pypoolstation / default.nix
blob5c4703193af1238423a88864b1027147e857a663
1 { lib
2 , aiohttp
3 , backoff
4 , buildPythonPackage
5 , fetchPypi
6 , poetry-core
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "pypoolstation";
12   version = "0.4.9";
13   format = "pyproject";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     pname = "PyPoolstation";
19     inherit version;
20     sha256 = "sha256-2smgsR5f2fzmutr4EjhyrFWrO9odTba0ux+0B6k3+9Y=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   propagatedBuildInputs = [
28     aiohttp
29     backoff
30   ];
32   # Project has no tests
33   doCheck = false;
35   pythonImportsCheck = [
36     "pypoolstation"
37   ];
39   meta = with lib; {
40     description = "Python library to interact the the Poolstation platform";
41     homepage = "https://github.com/cibernox/PyPoolstation";
42     license = licenses.mit;
43     maintainers = with maintainers; [ fab ];
44   };