83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
45 lines
802 B
Nix
45 lines
802 B
Nix
{ lib
|
|
, aiohttp
|
|
, backoff
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, poetry-core
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pypoolstation";
|
|
version = "0.4.9";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "PyPoolstation";
|
|
inherit version;
|
|
hash = "sha256-2smgsR5f2fzmutr4EjhyrFWrO9odTba0ux+0B6k3+9Y=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
backoff
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pypoolstation"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|