Skip to content

Commit ed6d952

Browse files
authored
smpmgr: cleanup (NixOS#397875)
2 parents 6b93024 + c19e2e3 commit ed6d952

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

pkgs/by-name/sm/smpmgr/package.nix

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ python3Packages.buildPythonApplication rec {
2020
build-system = with python3Packages; [
2121
poetry-core
2222
poetry-dynamic-versioning
23-
setuptools
23+
];
24+
25+
pythonRelaxDeps = [
26+
"typer"
27+
"smpclient"
2428
];
2529

2630
dependencies = with python3Packages; [
@@ -33,17 +37,9 @@ python3Packages.buildPythonApplication rec {
3337
pytestCheckHook
3438
versionCheckHook
3539
];
40+
versionCheckProgramArg = "--version";
3641

37-
pythonRelaxDeps = [
38-
"typer"
39-
"smpclient"
40-
];
41-
42-
versionCheckProgramArg = [ "--version" ];
43-
44-
pythonImportsCheck = [
45-
"smpmgr"
46-
];
42+
pythonImportsCheck = [ "smpmgr" ];
4743

4844
meta = {
4945
description = "Simple Management Protocol (SMP) Manager for remotely managing MCU firmware";

0 commit comments

Comments
 (0)