python3Packages.pysmarty2: init at 0.10.2 (#434148)

This commit is contained in:
Martin Weinelt
2025-08-16 20:47:57 +02:00
committed by GitHub
3 changed files with 41 additions and 1 deletions
@@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pymodbus,
setuptools,
}:
buildPythonPackage rec {
pname = "pysmarty2";
version = "0.10.2";
pyproject = true;
src = fetchFromGitHub {
owner = "martinssipenko";
repo = "pysmarty2";
tag = "v${version}";
hash = "sha256-vDm+ThPHb6O+CoBiRAVCA01O7yQqVLcmVb+Ca2JSljY=";
};
build-system = [ setuptools ];
dependencies = [ pymodbus ];
# Package has no tests
doCheck = false;
pythonImportsCheck = [ "pysmarty2" ];
meta = {
description = "Python API for Salda Smarty Modbus TCP";
homepage = "https://github.com/martinssipenko/pysmarty2";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
@@ -5468,7 +5468,8 @@
];
"smarty" =
ps: with ps; [
]; # missing inputs: pysmarty2
pysmarty2
];
"smhi" =
ps: with ps; [
pysmhi
@@ -7641,6 +7642,7 @@
"smart_meter_texas"
"smartthings"
"smarttub"
"smarty"
"smhi"
"smlight"
"sms"
+2
View File
@@ -14052,6 +14052,8 @@ self: super: with self; {
pysmartthings = callPackage ../development/python-modules/pysmartthings { };
pysmarty2 = callPackage ../development/python-modules/pysmarty2 { };
pysmb = callPackage ../development/python-modules/pysmb { };
pysmbc = callPackage ../development/python-modules/pysmbc { };