gnu: rust-nettle-5: Use package name in source URI.

* gnu/packages/crates-crypto.scm (rust-nettle-5): Set name.
[source]: Use name.

Change-Id: I95ab63c4bf90e48df5836d49d4fc4bca45f3484d
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Herman Rimm 2024-12-25 17:01:38 +01:00 committed by Efraim Flashner
parent 0d9a851a0b
commit 01ff526fa9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3253,13 +3253,13 @@ cryptographic library.")
(define-public rust-nettle-5
(package
(inherit rust-nettle-7)
(name "rust-nettle")
(version "5.0.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "nettle" version))
(file-name
(string-append (package-name rust-nettle-7) "-" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0zfplqdf3mag8r7lc124hl24vri8yg711jmm8gl1mpwnlhass2n4"))
(patches (search-patches "rust-nettle-disable-vendor.patch"))))