Files
nixpkgs/pkgs/development/python-modules/aioaquarite/default.nix
2026-10-06 02:18:11 +00:00

44 lines
951 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
google-auth,
google-cloud-firestore,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "aioaquarite";
version = "0.13.1";
pyproject = true;
src = fetchFromGitHub {
owner = "fdebrus";
repo = "aioaquarite";
tag = "v${finalAttrs.version}";
hash = "sha256-CxbBErzTN3+CnCgHRgoc9SufhyUg+bUPJA9o4e+e2+A=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
google-auth
google-cloud-firestore
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aioaquarite" ];
meta = {
description = "Async Python client for the Hayward Aquarite pool API";
homepage = "https://github.com/fdebrus/aioaquarite";
changelog = "https://github.com/fdebrus/aioaquarite/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})