depot/third_party/nixpkgs/pkgs/development/python-modules/pypoolstation/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

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