python3Packages.pysrdaligateway: init at 0.15.1

This commit is contained in:
Robert Schütz
2025-11-05 10:01:17 -08:00
parent 90204eef86
commit 4519fa6c76
2 changed files with 50 additions and 0 deletions
@@ -0,0 +1,48 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
cryptography,
paho-mqtt,
psutil,
pytestCheckHook,
pytest-asyncio,
pytest-cov,
}:
buildPythonPackage rec {
pname = "pysrdaligateway";
version = "0.15.1";
pyproject = true;
src = fetchFromGitHub {
owner = "maginawin";
repo = "PySrDaliGateway";
tag = "v${version}";
hash = "sha256-qPZxcGDSToFkkXBJKxo9OkcTBr4TZ9cFrcQwBTwKfy8=";
};
build-system = [ setuptools ];
dependencies = [
cryptography
paho-mqtt
psutil
];
pythonImportsCheck = [ "PySrDaliGateway" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
changelog = "https://github.com/maginawin/PySrDaliGateway/releases/tag/${src.tag}";
description = "Python library for Sunricher DALI Gateway (EDA)";
homepage = "https://github.com/maginawin/PySrDaliGateway";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.dotlambda ];
};
}
+2
View File
@@ -14438,6 +14438,8 @@ self: super: with self; {
pysqueezebox = callPackage ../development/python-modules/pysqueezebox { };
pysrdaligateway = callPackage ../development/python-modules/pysrdaligateway { };
pysrim = callPackage ../development/python-modules/pysrim { };
pysrt = callPackage ../development/python-modules/pysrt { };