mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
python312Packages.smpclient: init at 4.4.2
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
59
pkgs/development/python-modules/smpclient/default.nix
Normal file
59
pkgs/development/python-modules/smpclient/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user