python312Packages.pysmlight: init at 0.0.13

This commit is contained in:
Robert Schütz
2024-09-04 12:02:03 -07:00
parent 50c9581c8b
commit 950404a7e6
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
aiohttp,
aiohttp-sse-client2,
aresponses,
buildPythonPackage,
fetchFromGitHub,
lib,
mashumaro,
poetry-core,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pysmlight";
version = "0.0.13";
pyproject = true;
src = fetchFromGitHub {
owner = "smlight-tech";
repo = "pysmlight";
rev = "refs/tags/v${version}";
hash = "sha256-yNTNcJGcTA7EN1JfbDaySCSfBx99vRKLQWqMG4OkC5k=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
aiohttp-sse-client2
mashumaro
];
pythonImportsCheck = [ "pysmlight" ];
nativeCheckInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://github.com/smlight-tech/pysmlight/releases/tag/v${version}";
description = "Library implementing API control of the SMLIGHT SLZB-06 LAN Coordinators";
homepage = "https://github.com/smlight-tech/pysmlight";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
+2
View File
@@ -12085,6 +12085,8 @@ self: super: with self; {
pysml = callPackage ../development/python-modules/pysml { };
pysmlight = callPackage ../development/python-modules/pysmlight { };
pysmt = callPackage ../development/python-modules/pysmt { };
pysnmp = callPackage ../development/python-modules/pysnmp { };