159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
46 lines
920 B
Nix
46 lines
920 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|