python311Packages.spsdk: 2.0.1 -> 2.1.0
Diff: https://github.com/nxp-mcuxpresso/spsdk/compare/2.0.1...2.1.0 Changelog: https://github.com/nxp-mcuxpresso/spsdk/blob/2.1.0/docs/release_notes.rst
This commit is contained in:
@@ -9,21 +9,19 @@
|
||||
, click
|
||||
, click-command-tree
|
||||
, click-option-group
|
||||
, cmsis-pack-manager
|
||||
, commentjson
|
||||
, colorama
|
||||
, crcmod
|
||||
, cryptography
|
||||
, deepmerge
|
||||
, fastjsonschema
|
||||
, hexdump
|
||||
, importlib-metadata
|
||||
, jinja2
|
||||
, libusbsio
|
||||
, oscrypto
|
||||
, pycryptodome
|
||||
, pyftdi
|
||||
, platformdirs
|
||||
, prettytable
|
||||
, pylink-square
|
||||
, pyocd
|
||||
, pyocd-pemicro
|
||||
, pypemicro
|
||||
, pyserial
|
||||
, requests
|
||||
@@ -33,20 +31,22 @@
|
||||
, spsdk
|
||||
, testers
|
||||
, typing-extensions
|
||||
, ipykernel
|
||||
, pytest-notebook
|
||||
, pytestCheckHook
|
||||
, voluptuous
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spsdk";
|
||||
version = "2.0.1";
|
||||
version = "2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nxp-mcuxpresso";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-C6cz5jhIHI4WkCYT0rURFa4kBAu6cMcKpQHiHACIiu8=";
|
||||
repo = "spsdk";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ZXNqger5WBk2AjTszJLmemYDPClUPy+kNtBWSPcTDro=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -55,21 +55,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"bincopy"
|
||||
"bitstring"
|
||||
"cmsis-pack-manager"
|
||||
"deepmerge"
|
||||
"jinja2"
|
||||
"pycryptodome"
|
||||
"pylink-square"
|
||||
"pyocd"
|
||||
"typing-extensions"
|
||||
"click"
|
||||
"ruamel.yaml"
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [
|
||||
"pyocd-pemicro"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -80,20 +66,19 @@ buildPythonPackage rec {
|
||||
click
|
||||
click-command-tree
|
||||
click-option-group
|
||||
cmsis-pack-manager
|
||||
commentjson
|
||||
colorama
|
||||
crcmod
|
||||
cryptography
|
||||
deepmerge
|
||||
fastjsonschema
|
||||
hexdump
|
||||
importlib-metadata
|
||||
jinja2
|
||||
libusbsio
|
||||
oscrypto
|
||||
pycryptodome
|
||||
platformdirs
|
||||
prettytable
|
||||
pylink-square
|
||||
pyocd
|
||||
pyocd-pemicro
|
||||
pypemicro
|
||||
pyserial
|
||||
requests
|
||||
@@ -103,16 +88,23 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pyftdi
|
||||
ipykernel
|
||||
pytest-notebook
|
||||
pytestCheckHook
|
||||
voluptuous
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_nxpcrypto_create_signature_algorithm"
|
||||
"test_nxpimage_sb31_kaypair_not_matching"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "spsdk" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = spsdk; };
|
||||
|
||||
meta = with lib; {
|
||||
broken = versionAtLeast cryptography.version "41.1";
|
||||
changelog = "https://github.com/nxp-mcuxpresso/spsdk/blob/${src.rev}/docs/release_notes.rst";
|
||||
description = "NXP Secure Provisioning SDK";
|
||||
homepage = "https://github.com/nxp-mcuxpresso/spsdk";
|
||||
|
||||
Reference in New Issue
Block a user