python3Packages.spsdk: 3.6.0 -> 3.9.0
Diff: https://github.com/nxp-mcuxpresso/spsdk/compare/v3.6.0...v3.9.0 Changelog: https://github.com/nxp-mcuxpresso/spsdk/blob/v3.9.0/docs/release_notes.rst
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
asn1crypto,
|
||||
bincopy,
|
||||
bitstring,
|
||||
chardet,
|
||||
click,
|
||||
click-command-tree,
|
||||
click-option-group,
|
||||
@@ -48,24 +49,19 @@
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "spsdk";
|
||||
version = "3.6.0";
|
||||
version = "3.9.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nxp-mcuxpresso";
|
||||
repo = "spsdk";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-eylowyX4ERXSYuhc/Gy4UEqRSG1GjmeRMJdR0mY5E9I=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-eA18DvQ0IIZtseJXXXMiFYkaOwBIhVXNaWiAObIj55I=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools>=72.1,<74" "setuptools" \
|
||||
--replace-fail "setuptools_scm<8.2" "setuptools_scm"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
@@ -78,6 +74,7 @@ buildPythonPackage rec {
|
||||
"packaging"
|
||||
"prettytable"
|
||||
"requests"
|
||||
"ruamel.yaml.clib"
|
||||
"setuptools_scm"
|
||||
"typing-extensions"
|
||||
];
|
||||
@@ -92,6 +89,7 @@ buildPythonPackage rec {
|
||||
asn1crypto
|
||||
bincopy
|
||||
bitstring
|
||||
chardet
|
||||
click
|
||||
click-command-tree
|
||||
click-option-group
|
||||
@@ -139,10 +137,13 @@ buildPythonPackage rec {
|
||||
|
||||
# Attempts to access /run
|
||||
"test_nxpimage_famode_export_cli"
|
||||
|
||||
# spsdk.exceptions.SPSDKValueError: SPSDK: The EC curve with name 'sect163k1' is not supported
|
||||
"test_keys_generation_ec"
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/nxp-mcuxpresso/spsdk/blob/${src.tag}/docs/release_notes.rst";
|
||||
changelog = "https://github.com/nxp-mcuxpresso/spsdk/blob/${finalAttrs.src.tag}/docs/release_notes.rst";
|
||||
description = "NXP Secure Provisioning SDK";
|
||||
homepage = "https://github.com/nxp-mcuxpresso/spsdk";
|
||||
license = lib.licenses.bsd3;
|
||||
@@ -150,4 +151,4 @@ buildPythonPackage rec {
|
||||
];
|
||||
mainProgram = "spsdk";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user