blob: cbcc7e67382021fafdc9b2baf6147bea542b1055 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
fetchFromGitHub,
python3Packages,
versionCheckHook,
}:
python3Packages.buildPythonApplication rec {
pname = "smpmgr";
version = "0.12.0";
pyproject = true;
src = fetchFromGitHub {
owner = "intercreate";
repo = "smpmgr";
tag = version;
hash = "sha256-HNL9e3D/uZwJI0d4escbhe51zKH7hBFAnCGZZuZdla4=";
};
build-system = with python3Packages; [
poetry-core
poetry-dynamic-versioning
];
pythonRelaxDeps = [
"typer"
"smpclient"
];
dependencies = with python3Packages; [
readchar
smpclient
typer
];
nativeCheckInputs = with python3Packages; [
pytestCheckHook
versionCheckHook
];
versionCheckProgramArg = "--version";
pythonImportsCheck = [ "smpmgr" ];
meta = {
description = "Simple Management Protocol (SMP) Manager for remotely managing MCU firmware";
homepage = "https://github.com/intercreate/smpmgr";
changelog = "https://github.com/intercreate/smpmgr/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ otavio ];
mainProgram = "smpmgr";
};
}
|