guix-commits
[Top][All Lists]
Advanced

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

180/299: gnu: Add rust-paste-0.1.


From: guix-commits
Subject: 180/299: gnu: Add rust-paste-0.1.
Date: Thu, 2 Jan 2020 13:19:40 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit ab0a2216d75369f7211b5b099c39630c901a02ec
Author: John Soo <address@hidden>
Date:   Sun Dec 15 09:03:19 2019 -0800

    gnu: Add rust-paste-0.1.
    
    * gnu/packages/crates-io.scm (rust-paste-0.1): 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 b427136..d1864186 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5160,6 +5160,31 @@ deserialization, and interpreter in Rust.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-paste-0.1
+  (package
+    (name "rust-paste")
+    (version "0.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "paste" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0ygs077hlq8qlx5y46sfgrmhlqqgkmvvhn4x3y10arawalf4ljhz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-paste-impl" ,rust-paste-impl-0.1)
+        ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
+    (home-page "https://github.com/dtolnay/paste";)
+    (synopsis "Macros for all your token pasting needs")
+    (description
+     "Macros for all your token pasting needs.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-paste-impl-0.1
   (package
     (name "rust-paste-impl")



reply via email to

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