guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

307/330: gnu: Add rust-proc-quote-0.4.


From: guix-commits
Subject: 307/330: gnu: Add rust-proc-quote-0.4.
Date: Mon, 18 Mar 2024 07:16:46 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit f041e621eed16bb89f1d3c19a31e946bb0f418e5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:37 2024 +0200

    gnu: Add rust-proc-quote-0.4.
    
    * gnu/packages/crates-io.scm (rust-proc-quote-0.4): New variable.
    
    Change-Id: I38d4f5a6f403e8016d2beaa81ec8796df08d8fbc
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f2dfc04838..268f283e40 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52908,6 +52908,31 @@ macro use case.")
      "This package provides fetching active mounts and swaps on a Linux 
system.")
     (license license:expat)))
 
+(define-public rust-proc-quote-0.4
+  (package
+    (name "rust-proc-quote")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "proc-quote" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0051nax31x1yzr1imbp200l2gpz6pqcmlcna099r33773lbap12y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; The test suite hasn't aged well
+       #:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-proc-quote-impl" ,rust-proc-quote-impl-0.3)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/Goncalerta/proc-quote";)
+    (synopsis "Procedural macro implementation of quote!")
+    (description
+     "This package provides a procedural macro implementation of quote!.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-proc-quote-impl-0.3
   (package
     (name "rust-proc-quote-impl")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]