Merge pull request #254601 from DamienCassou/fix-spsdk

authored by

Damien Cassou and committed by
GitHub
9fe0b5fd 48216fda

+6 -2
+6 -2
pkgs/development/python-modules/spsdk/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 - , dos2unix 5 , pythonRelaxDepsHook 6 , asn1crypto 7 , astunparse ··· 29 , pyserial 30 , ruamel-yaml 31 , sly 32 , typing-extensions 33 , pytestCheckHook 34 , voluptuous ··· 80 deepmerge 81 fastjsonschema 82 hexdump 83 jinja2 84 libusbsio 85 oscrypto ··· 94 ]; 95 96 nativeCheckInputs = [ 97 - importlib-metadata 98 pyftdi 99 pytestCheckHook 100 voluptuous ··· 102 103 pythonImportsCheck = [ "spsdk" ]; 104 105 meta = with lib; { 106 changelog = "https://github.com/nxp-mcuxpresso/spsdk/blob/${src.rev}/docs/release_notes.rst"; 107 description = "NXP Secure Provisioning SDK"; 108 homepage = "https://github.com/nxp-mcuxpresso/spsdk"; 109 license = licenses.bsd3; 110 maintainers = with maintainers; [ frogamic sbruder ]; 111 }; 112 }
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , pythonRelaxDepsHook 5 , asn1crypto 6 , astunparse ··· 28 , pyserial 29 , ruamel-yaml 30 , sly 31 + , spsdk 32 + , testers 33 , typing-extensions 34 , pytestCheckHook 35 , voluptuous ··· 81 deepmerge 82 fastjsonschema 83 hexdump 84 + importlib-metadata 85 jinja2 86 libusbsio 87 oscrypto ··· 96 ]; 97 98 nativeCheckInputs = [ 99 pyftdi 100 pytestCheckHook 101 voluptuous ··· 103 104 pythonImportsCheck = [ "spsdk" ]; 105 106 + passthru.tests.version = testers.testVersion { package = spsdk; }; 107 + 108 meta = with lib; { 109 changelog = "https://github.com/nxp-mcuxpresso/spsdk/blob/${src.rev}/docs/release_notes.rst"; 110 description = "NXP Secure Provisioning SDK"; 111 homepage = "https://github.com/nxp-mcuxpresso/spsdk"; 112 license = licenses.bsd3; 113 maintainers = with maintainers; [ frogamic sbruder ]; 114 + mainProgram = "spsdk"; 115 }; 116 }