python3Packages.python-qube-heatpump: init at 1.7.0

This commit is contained in:
Jamie Magee
2026-04-04 17:32:38 -07:00
parent 32cbbb03c7
commit c6f33cb3f6
2 changed files with 45 additions and 0 deletions
@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pymodbus,
pytest-asyncio,
pytest-mock,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "python-qube-heatpump";
version = "1.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "MattieGit";
repo = "python-qube-heatpump";
tag = "v${finalAttrs.version}";
hash = "sha256-auxFAKEi8nvPQPDU7Lg2bt8X5TaFaYhvcnQLv86QpGY=";
};
build-system = [ hatchling ];
dependencies = [ pymodbus ];
nativeCheckInputs = [
pytest-asyncio
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "python_qube_heatpump" ];
meta = {
description = "Async Modbus client for Qube Heat Pumps";
homepage = "https://github.com/MattieGit/python-qube-heatpump";
changelog = "https://github.com/MattieGit/python-qube-heatpump/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
+2
View File
@@ -15872,6 +15872,8 @@ self: super: with self; {
python-ptrace = callPackage ../development/python-modules/python-ptrace { };
python-qube-heatpump = callPackage ../development/python-modules/python-qube-heatpump { };
python-rabbitair = callPackage ../development/python-modules/python-rabbitair { };
python-rapidjson = callPackage ../development/python-modules/python-rapidjson { };