Subject: bug#75099: closed (Re: [bug#75099] [PATCH rust-team] gnu: rust-indoc-impl-0.3: Do not inherit.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 26 Dec 2024 13:46:04 +0000

Your bug report

#75099: [PATCH rust-team] gnu: rust-indoc-impl-0.3: Do not inherit.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
75099: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75099
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#75099] [PATCH rust-team] gnu: rust-indoc-impl-0.3: Do not inherit.
From: Efraim Flashner <[email-masked]>
To: Herman Rimm <[email-masked]>
Cc: [email-masked]
Date: Thu, 26 Dec 2024 15:44:11 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

This one had some issues.  rust-indoc-0.3 wants rust-indoc-0.3.6
specifically, so I had to downgrade it back to 0.3.6.  Also
proc-macro-hack is needed for building the package, it just isn't listed
with cargo import for some reason.  I made the changes and applied it to
the rust-team branch, and followed up with building rust-indoc-0.3.

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH rust-team] gnu: rust-indoc-impl-0.3: Do not inherit.
From: Herman Rimm <[email-masked]>
To: [email-masked]
Date: Wed, 25 Dec 2024 21:56:07 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/crates-io.scm (rust-indoc-impl-0.3): Do not inherit.
[home-page, license]: Add.
[version, source]: Update to 0.3.7.
[arguments]: Build.  Remove rust-proc-macro-hack-0.5.

Change-Id: Ie57baea4c388a32e00443c39abe80119786b14f8
---
 gnu/packages/crates-io.scm | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b3d9bcd783..123b2aa05c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37292,29 +37292,28 @@ (define-public rust-indoc-0.3
 
 (define-public rust-indoc-impl-0.3
   (package
-    (inherit rust-indoc-0.3)
     (name "rust-indoc-impl")
-    (version "0.3.6")
+    (version "0.3.7")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "indoc-impl" version))
        (file-name (string-append "rust-indoc-impl-" version ".tar.gz"))
        (sha256
-        (base32 "1w58yg249kmzsn75kcj34qaxqh839l1hsaj3bzggy3q03wb6s16f"))))
+        (base32 "0m0s0klnyjprfw6q6rnz6rl5hyfkjiv3md30s15v487wkcby05vi"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
-        ("rust-proc-macro2" ,rust-proc-macro2-1)
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1)
         ("rust-unindent" ,rust-unindent-0.1))))
+    (home-page "https://github.com/dtolnay/indoc")
     (synopsis "Macros for @code{rust-indoc}")
     (description
      "This package provides macros for use with the @code{rust-indoc}
-package.  It is obsolete for indoc versions > 1.")))
+package.  It is obsolete for indoc versions > 1.")
+    (license (list license:expat license:asl2.0))))
 
 (define-public rust-infer-0.15
   (package

base-commit: 32ab343e03e998ada27c063ef7d8a00aa88436dd
-- 
2.45.2