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