Files
nixpkgs/pkgs/development/python-modules/eheimdigital/default.nix
2025-07-04 11:18:01 +00:00

42 lines
861 B
Nix

{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
yarl,
}:
buildPythonPackage rec {
pname = "eheimdigital";
version = "1.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "autinerd";
repo = "eheimdigital";
tag = version;
hash = "sha256-zpFINbhzh0SuWfapZWPTr+8qh9b0Ux0TiV4cHXQuGRM=";
};
build-system = [ hatchling ];
dependencies = [
aiohttp
yarl
];
pythonImportsCheck = [ "eheimdigital" ];
# upstream tests are dysfunctional
doCheck = false;
meta = {
changelog = "https://github.com/autinerd/eheimdigital/releases/tag/${src.tag}";
description = "Offers a Python API for the EHEIM Digital smart aquarium devices";
homepage = "https://github.com/autinerd/eheimdigital";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}