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

Message ID 1c1a1c820ad003f141d74c8bd03f2b75071332dc.1735140636.git.herman@rimm.ee
State New
Headers
Series Refactor (gnu packages crates-io). |

Commit Message

Herman Rimm Dec. 25, 2024, 4:01 p.m. UTC
  * 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(-)
  

Patch

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"))))