python3Packages.pysmarty2: init at 0.10.2

This commit is contained in:
Jamie Magee 2025-08-15 22:42:31 -07:00
parent 3b0feaf8c2
commit 206937dab6
2 changed files with 38 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -14050,6 +14050,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 { };