depot/third_party/nixpkgs/pkgs/development/python-modules/pypoolstation/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

43 lines
821 B
Nix

{
lib,
aiohttp,
backoff,
buildPythonPackage,
fetchPypi,
importlib-metadata,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pypoolstation";
version = "0.5.3";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-hszGCA2DDGQSh37lxp8G0bqHliH/+i2so5imDyzyOJw=";
};
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 ];
};
}