guix-commits
[Top][All Lists]
Advanced

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

37/299: gnu: Add rust-demo-hack-impl-0.0.


From: guix-commits
Subject: 37/299: gnu: Add rust-demo-hack-impl-0.0.
Date: Thu, 2 Jan 2020 13:19:07 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 72676780bf40216729946f28fb746fbcefe0e724
Author: John Soo <address@hidden>
Date:   Sat Dec 14 10:29:29 2019 -0800

    gnu: Add rust-demo-hack-impl-0.0.
    
    * gnu/packages/crates-io.scm (rust-demo-hack-impl-0.0): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 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 2c51988..2480f1b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -899,6 +899,31 @@ hexadecimal, base32, and base64.")
     (description "Demo of proc-macro-hack.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-demo-hack-impl-0.0
+  (package
+    (name "rust-demo-hack-impl")
+    (version "0.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "demo-hack-impl" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1f1fdl60xjas9wlmcl9v6f56vgm3mzwr019kcifav5464rx3w3ld"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+        ("rust-quote" ,rust-quote-1.0)
+        ("rust-syn" ,rust-syn-0.15))))
+    (home-page "https://github.com/dtolnay/proc-macro-hack";)
+    (synopsis "Demo of proc-macro-hack")
+    (description "Demo of proc-macro-hack.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-dirs-1.0
   (package
     (name "rust-dirs")



reply via email to

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