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