1{ lib 2, aiohttp 3, backoff 4, buildPythonPackage 5, fetchPypi 6, poetry-core 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "pypoolstation"; 12 version = "0.4.9"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 pname = "PyPoolstation"; 19 inherit version; 20 sha256 = "sha256-2smgsR5f2fzmutr4EjhyrFWrO9odTba0ux+0B6k3+9Y="; 21 }; 22 23 nativeBuildInputs = [ 24 poetry-core 25 ]; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 backoff 30 ]; 31 32 # Project has no tests 33 doCheck = false; 34 35 pythonImportsCheck = [ 36 "pypoolstation" 37 ]; 38 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 }; 45}