Merge pull request #254601 from DamienCassou/fix-spsdk

This commit is contained in:
Damien Cassou 2023-09-18 09:59:49 +02:00 committed by GitHub
commit 9fe0b5fda2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, dos2unix
, pythonRelaxDepsHook
, asn1crypto
, astunparse
@ -29,6 +28,8 @@
, pyserial
, ruamel-yaml
, sly
, spsdk
, testers
, typing-extensions
, pytestCheckHook
, voluptuous
@ -80,6 +81,7 @@ buildPythonPackage rec {
deepmerge
fastjsonschema
hexdump
importlib-metadata
jinja2
libusbsio
oscrypto
@ -94,7 +96,6 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
importlib-metadata
pyftdi
pytestCheckHook
voluptuous
@ -102,11 +103,14 @@ buildPythonPackage rec {
pythonImportsCheck = [ "spsdk" ];
passthru.tests.version = testers.testVersion { package = spsdk; };
meta = with lib; {
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";
license = licenses.bsd3;
maintainers = with maintainers; [ frogamic sbruder ];
mainProgram = "spsdk";
};
}