Subject: [bug#75089] [PATCH rust-team 04/27] gnu: rust-nettle-5: Use package name in source URI.

From: Herman Rimm <[email-masked]>
Date: Wed, 25 Dec 2024 17:01:38 +0100

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

Change-Id: I95ab63c4bf90e48df5836d49d4fc4bca45f3484d
---
 gnu/packages/crates-crypto.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index fef6ba8d44..1fe701ca11 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -3253,13 +3253,14 @@ (define-public rust-nettle-7
 (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"))
+        (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0zfplqdf3mag8r7lc124hl24vri8yg711jmm8gl1mpwnlhass2n4"))
        (patches (search-patches "rust-nettle-disable-vendor.patch"))))
-- 
2.45.2