1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchPypi
5, poetry-core
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "pypoolstation";
11 version = "0.4.0";
12 format = "pyproject";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 pname = "PyPoolstation";
18 inherit version;
19 sha256 = "0qacrjv3qybgx052i8jqs4il3k2g0cdhjcn2lqapv87iqyp287k0";
20 };
21
22 nativeBuildInputs = [
23 poetry-core
24 ];
25
26 propagatedBuildInputs = [
27 aiohttp
28 ];
29
30 # Project has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "pypoolstation" ];
34
35 meta = with lib; {
36 description = "Python library to interact the the Poolstation platform";
37 homepage = "https://github.com/cibernox/PyPoolstation";
38 license = licenses.mit;
39 maintainers = with maintainers; [ fab ];
40 };
41}