Subject: [bug#75089] [PATCH rust-team 06/27] gnu: rust-indoc-1: Use package name in source URI.

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

* gnu/packages/crates-io.scm (rust-indoc-1): Add name.
[source]: Use name.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 00080c7934..ccc89d0fb8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37187,12 +37187,13 @@ (define-public rust-indoc-1
 (define-public rust-indoc-0.3
   (package
     (inherit rust-indoc-1)
+    (name "rust-indoc")
     (version "0.3.6")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "indoc" version))
-       (file-name (string-append "rust-indoc-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1n2fd2wm1h005hd7pjgx4gv5ymyq4sxqn8z0ssw6xchgqs5ilx27"))))
     (arguments
-- 
2.45.2