f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
43 lines
821 B
Nix
43 lines
821 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
backoff,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
importlib-metadata,
|
|
poetry-core,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pypoolstation";
|
|
version = "0.5.4";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-SA5Eqz0WoisVVAjeKQymVh17+fHa7SuiYXgOL2BiJcc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
backoff
|
|
importlib-metadata
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|