Files
nixpkgs/pkgs/development/python-modules/guntamatic/default.nix
2026-08-27 09:03:26 +00:00

38 lines
883 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "guntamatic";
version = "1.12.0";
pyproject = true;
src = fetchFromGitHub {
owner = "JensTimmerman";
repo = "guntamatic";
tag = "v${finalAttrs.version}";
hash = "sha256-fpWnlu6t09gfKWw+uYahyKJt6wbXNDN5ILaB2oWum5o=";
};
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 ];
};
})