Files
nixpkgs/pkgs/development/python-modules/eheimdigital/default.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 ];
};
}