unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#75099] [PATCH rust-team] gnu: rust-indoc-impl-0.3: Do not inherit.
@ 2024-12-25 20:56 Herman Rimm via Guix-patches via
  2024-12-26 13:44 ` bug#75099: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Herman Rimm via Guix-patches via @ 2024-12-25 20:56 UTC (permalink / raw)
  To: 75099; +Cc: Efraim Flashner

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#75099: [PATCH rust-team] gnu: rust-indoc-impl-0.3: Do not inherit.
  2024-12-25 20:56 [bug#75099] [PATCH rust-team] gnu: rust-indoc-impl-0.3: Do not inherit Herman Rimm via Guix-patches via
@ 2024-12-26 13:44 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2024-12-26 13:44 UTC (permalink / raw)
  To: Herman Rimm; +Cc: 75099-done

[-- Attachment #1: Type: text/plain, Size: 557 bytes --]

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   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-26 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-25 20:56 [bug#75099] [PATCH rust-team] gnu: rust-indoc-impl-0.3: Do not inherit Herman Rimm via Guix-patches via
2024-12-26 13:44 ` bug#75099: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).