depot/third_party/nixpkgs/pkgs/development/python-modules/pypoolstation/default.nix

46 lines
802 B
Nix
Raw Normal View History

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