python312Packages.smp: init at 3.3.1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
d01ca60497
commit
81c4342563
51
pkgs/development/python-modules/smp/default.nix
Normal file
51
pkgs/development/python-modules/smp/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
cbor2,
|
||||
crcmod,
|
||||
eval-type-backport,
|
||||
pydantic,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "smp";
|
||||
version = "3.3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "JPHutchins";
|
||||
repo = "smp";
|
||||
tag = version;
|
||||
hash = "sha256-TjucQm07nbfuFrVOHGOVA/f1rQRQfU8ws8VVC+U/kp8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
cbor2
|
||||
crcmod
|
||||
eval-type-backport
|
||||
pydantic
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"smp"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Simple Management Protocol (SMP) for remotely managing MCU firmware";
|
||||
homepage = "https://github.com/JPHutchins/smp";
|
||||
changelog = "https://github.com/JPHutchins/smp/releases/tag/${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ otavio ];
|
||||
};
|
||||
}
|
@ -15852,6 +15852,8 @@ self: super: with self; {
|
||||
|
||||
smolagents = callPackage ../development/python-modules/smolagents { };
|
||||
|
||||
smp = callPackage ../development/python-modules/smp { };
|
||||
|
||||
smpp-pdu = callPackage ../development/python-modules/smpp-pdu { };
|
||||
|
||||
smpplib = callPackage ../development/python-modules/smpplib { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user