guix-commits
[Top][All Lists]
Advanced

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

13/45: gnu: Add rust-proc-macro2-1.0.


From: guix-commits
Subject: 13/45: gnu: Add rust-proc-macro2-1.0.
Date: Wed, 23 Oct 2019 03:49:13 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 88ce4ef9190a5ceb18b9ed50bbabb3328999a1a5
Author: Efraim Flashner <address@hidden>
Date:   Wed Oct 23 09:49:32 2019 +0300

    gnu: Add rust-proc-macro2-1.0.
    
    * gnu/packages/rust-cbindgen.scm (rust-proc-macro2-1.0): New hidden
    variable.
---
 gnu/packages/rust-cbindgen.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index a0bb7ca..92364ad 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -279,3 +279,24 @@ the platform that libc is compiled for.")
      "This package can convert numbers into stack-allocated byte arrays.")
     (properties '((hidden? . #t)))
     (license (list license:expat license:asl2.0))))
+
+(define rust-proc-macro2-1.0
+  (package
+    (name "rust-proc-macro2")
+    (version "1.0.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "proc-macro2" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "09rgb5ab0jgw39kyad0lgqs4nb9yaf7mwcrgxqnsxbn4il54g7lw"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/alexcrichton/proc-macro2";)
+    (synopsis "Stable implementation of the upcoming new `proc_macro` API")
+    (description "This package provides a stable implementation of the 
upcoming new
+`proc_macro` API.  Comes with an option, off by default, to also reimplement 
itself
+in terms of the upstream unstable API.")
+    (properties '((hidden? . #t)))
+    (license (list license:expat license:asl2.0))))



reply via email to

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