2021-10-01 09:20:50 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
2022-06-26 10:26:21 +00:00
|
|
|
, backoff
|
2021-10-01 09:20:50 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2023-07-15 17:15:38 +00:00
|
|
|
, importlib-metadata
|
2021-10-01 09:20:50 +00:00
|
|
|
, poetry-core
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pypoolstation";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.5.3";
|
2021-10-01 09:20:50 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2023-07-15 17:15:38 +00:00
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-hszGCA2DDGQSh37lxp8G0bqHliH/+i2so5imDyzyOJw=";
|
2021-10-01 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
2022-06-26 10:26:21 +00:00
|
|
|
backoff
|
2023-07-15 17:15:38 +00:00
|
|
|
importlib-metadata
|
2021-10-01 09:20:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"pypoolstation"
|
|
|
|
];
|
2021-10-01 09:20:50 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library to interact the the Poolstation platform";
|
|
|
|
homepage = "https://github.com/cibernox/PyPoolstation";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|