mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-01 17:49:56 +00:00
44 lines
951 B
Nix
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 ];
|
|
};
|
|
})
|