depot/third_party/nixpkgs/pkgs/development/python-modules/pypoolstation/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

45 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 ];
};
}