mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
python3Packages.spsdk 2.1.1 -> 2.2.0
Patch out pyocd_pemicro, unused and unfree dependency
This commit is contained in:
parent
dcce54a0a7
commit
719a79df78
@ -3,7 +3,6 @@
|
|||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
asn1crypto,
|
asn1crypto,
|
||||||
astunparse,
|
|
||||||
bincopy,
|
bincopy,
|
||||||
bitstring,
|
bitstring,
|
||||||
click,
|
click,
|
||||||
@ -17,16 +16,14 @@
|
|||||||
hexdump,
|
hexdump,
|
||||||
libusbsio,
|
libusbsio,
|
||||||
oscrypto,
|
oscrypto,
|
||||||
|
packaging,
|
||||||
platformdirs,
|
platformdirs,
|
||||||
prettytable,
|
prettytable,
|
||||||
pylink-square,
|
|
||||||
pyocd,
|
pyocd,
|
||||||
pyocd-pemicro,
|
|
||||||
pypemicro,
|
|
||||||
pyserial,
|
pyserial,
|
||||||
requests,
|
requests,
|
||||||
ruamel-yaml,
|
ruamel-yaml,
|
||||||
setuptools,
|
setuptools-scm,
|
||||||
sly,
|
sly,
|
||||||
spsdk,
|
spsdk,
|
||||||
testers,
|
testers,
|
||||||
@ -39,31 +36,30 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "spsdk";
|
pname = "spsdk";
|
||||||
version = "2.1.1";
|
version = "2.2.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nxp-mcuxpresso";
|
owner = "nxp-mcuxpresso";
|
||||||
repo = "spsdk";
|
repo = "spsdk";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-cWz2zML/gb9l2C5VEBti+nX3ZLyGbLFyLZGjk5GfTJw=";
|
hash = "sha256-2CFxJAP87ysly0i4AfODbwUt5W287+OK7fatdPco7e4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [ setuptools-scm ];
|
||||||
setuptools
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
"click"
|
|
||||||
"cryptography"
|
|
||||||
"platformdirs"
|
|
||||||
"requests"
|
"requests"
|
||||||
|
"packaging"
|
||||||
"typing-extensions"
|
"typing-extensions"
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
# Remove unneeded unfree package. pyocd-pemicro is only used when
|
||||||
|
# generating a pyinstaller package, which we don't do.
|
||||||
|
pythonRemoveDeps = [ "pyocd-pemicro" ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
asn1crypto
|
asn1crypto
|
||||||
astunparse
|
|
||||||
bincopy
|
bincopy
|
||||||
bitstring
|
bitstring
|
||||||
click
|
click
|
||||||
@ -77,12 +73,10 @@ buildPythonPackage rec {
|
|||||||
hexdump
|
hexdump
|
||||||
libusbsio
|
libusbsio
|
||||||
oscrypto
|
oscrypto
|
||||||
|
packaging
|
||||||
platformdirs
|
platformdirs
|
||||||
prettytable
|
prettytable
|
||||||
pylink-square
|
|
||||||
pyocd
|
pyocd
|
||||||
pyocd-pemicro
|
|
||||||
pypemicro
|
|
||||||
pyserial
|
pyserial
|
||||||
requests
|
requests
|
||||||
ruamel-yaml
|
ruamel-yaml
|
||||||
@ -97,11 +91,6 @@ buildPythonPackage rec {
|
|||||||
voluptuous
|
voluptuous
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
|
||||||
"test_nxpcrypto_create_signature_algorithm"
|
|
||||||
"test_nxpimage_sb31_kaypair_not_matching"
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "spsdk" ];
|
pythonImportsCheck = [ "spsdk" ];
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion { package = spsdk; };
|
passthru.tests.version = testers.testVersion { package = spsdk; };
|
||||||
|
Loading…
Reference in New Issue
Block a user