python312Packages.heatmiserv3: init at 2.0.3

This commit is contained in:
Robert Schütz 2024-08-10 03:57:43 -07:00
parent 0de8c9af78
commit 1a81720273
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,46 @@
{
appdirs,
buildPythonPackage,
fetchFromGitHub,
importlib-resources,
lib,
poetry-core,
pyserial,
pyserial-asyncio,
pytestCheckHook,
pyyaml,
}:
buildPythonPackage rec {
pname = "heatmiserv3";
version = "2.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "andylockran";
repo = "heatmiserV3";
rev = "refs/tags/${version}";
hash = "sha256-Ia0QUMDvuvn2af52lW7ObSQ9MSPNOgWyBuFBnqfYrpM=";
};
build-system = [ poetry-core ];
dependencies = [
appdirs
importlib-resources
pyserial
pyserial-asyncio
pyyaml
];
pythonImportsCheck = [ "heatmiserv3" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Library to interact with Heatmiser Themostats using V3 protocol";
homepage = "https://github.com/andylockran/heatmiserV3";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -5503,6 +5503,8 @@ self: super: with self; {
heapdict = callPackage ../development/python-modules/heapdict { };
heatmiserv3 = callPackage ../development/python-modules/heatmiserv3 { };
heatshrink2 = callPackage ../development/python-modules/heatshrink2 { };
heatzypy = callPackage ../development/python-modules/heatzypy { };