Files
nixpkgs/pkgs/development/python-modules/guntamatic/default.nix
2026-06-06 15:13:03 -07:00

38 lines
882 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "guntamatic";
version = "1.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "JensTimmerman";
repo = "guntamatic";
tag = "v${finalAttrs.version}";
hash = "sha256-AFqr2+N8uDpeUOvPuFZQbvln1sxWhrJEj31H2DOYX1k=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "guntamatic" ];
meta = {
description = "Module to get data from a Guntamatic heater e.g. BMK 20";
homepage = "https://github.com/JensTimmerman/guntamatic";
changelog = "https://github.com/JensTimmerman/guntamatic/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.jamiemagee ];
};
})