mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
46 lines
804 B
Nix
46 lines
804 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;
|
|
sha256 = "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 ];
|
|
};
|
|
}
|