python312Packages.smpclient: init at 4.4.2

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador
2025-03-11 20:04:12 -03:00
parent 81c4342563
commit 38fb09df80
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
async-timeout,
bleak,
intelhex,
pyserial,
smp,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "smpclient";
version = "4.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "intercreate";
repo = "smpclient";
tag = version;
hash = "sha256-qbf0xGK1RYaeEIAsbkZ2cWj/MQrmVwm2IKmOkihxBDE=";
};
build-system = [
poetry-core
];
dependencies = [
async-timeout
bleak
intelhex
pyserial
smp
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonRelaxDeps = [
"smp"
];
pythonImportsCheck = [
"smpclient"
];
meta = {
description = "Simple Management Protocol (SMP) Client for remotely managing MCU firmware";
homepage = "https://github.com/intercreate/smpclient";
changelog = "https://github.com/intercreate/smpclient/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ otavio ];
};
}

View File

@@ -15854,6 +15854,8 @@ self: super: with self; {
smp = callPackage ../development/python-modules/smp { };
smpclient = callPackage ../development/python-modules/smpclient { };
smpp-pdu = callPackage ../development/python-modules/smpp-pdu { };
smpplib = callPackage ../development/python-modules/smpplib { };