diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-08-26 00:50:32 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-03 08:01:06 +0100 |
| commit | 6b52644eccec9df65bc48a33f097284c4f19fc11 (patch) | |
| tree | 8bcc9b869ea81a9e36d209e300a06209861c26ce /gnu/packages/python-crypto.scm | |
| parent | e4bdc82668e12db025b0cc7e31c627a3da5fd0ee (diff) | |
gnu: python-mcuboot-imgtool: Switch to pyproject.
* gnu/packages/python-crypto.scm (python-mcuboot-imgtool):
[source]<uri>: Update url.
[build-system]: Switch to pyproject-build-system.
[arguments, description]: Improve style.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.
Change-Id: I2e722867413d9d46bb67ab03a58be34d5dea5f5a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index d3ef3b53745..0d09408cb96 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1416,32 +1416,31 @@ storing and retrieving sensitive information in your programs.") (origin (method git-fetch) (uri (git-reference - (url "https://github.com/JuulLabs-OSS/mcuboot") - (commit (string-append "v" version)))) + (url "https://github.com/mcu-tools/mcuboot") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 - "1m1csyvzq4jx81zg635ssy1n7sc0z539z0myh872ll3nwqx7wa0q")))) - (build-system python-build-system) + (base32 "1m1csyvzq4jx81zg635ssy1n7sc0z539z0myh872ll3nwqx7wa0q")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-broken-test - (lambda _ - (substitute* "scripts/imgtool/keys/ed25519_test.py" - (("raw_sign") "sign_digest")) - #t)) - (add-before 'build 'change-directory - (lambda _ - (chdir "scripts") - #t))))) - (propagated-inputs - (list python-click python-intelhex python-cryptography)) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-broken-test + (lambda _ + (substitute* "scripts/imgtool/keys/ed25519_test.py" + (("raw_sign") + "sign_digest")))) + (add-before 'build 'change-directory + (lambda _ + (chdir "scripts")))))) + (native-inputs (list python-pytest python-setuptools python-wheel)) + (propagated-inputs (list python-click python-intelhex python-cryptography)) (home-page "https://mcuboot.com") (synopsis "Tool to securely sign firmware images for booting by MCUboot") - (description "MCUboot is a secure bootloader for 32-bit MCUs. This -package provides a tool to securely sign firmware images for booting by -MCUboot.") + (description + "MCUboot is a secure bootloader for 32-bit MCUs. This package provides a +tool to securely sign firmware images for booting by MCUboot.") (license license:expat))) (define-public python-ntlm-auth |
