Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
892 B
Nix
43 lines
892 B
Nix
{
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitea,
|
|
hatchling,
|
|
lib,
|
|
yarl,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "eheimdigital";
|
|
version = "1.3.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "autinerd";
|
|
repo = "eheimdigital";
|
|
tag = version;
|
|
hash = "sha256-wFKkfzZ4LLwWhVYigospWYBxTGAJGZWO6Wrj3bvUsc8=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
yarl
|
|
];
|
|
|
|
pythonImportsCheck = [ "eheimdigital" ];
|
|
|
|
# upstream tests are dysfunctional
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://codeberg.org/autinerd/eheimdigital/releases/tag/${src.tag}";
|
|
description = "Offers a Python API for the EHEIM Digital smart aquarium devices";
|
|
homepage = "https://codeberg.org/autinerd/eheimdigital";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|