summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 09:03:19 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:44 +0200
commitab0a2216d75369f7211b5b099c39630c901a02ec (patch)
tree64b9a5ecad421eedacbcb0596edb4e6e76f75fff /gnu
parent1b63d8ed7f4e691226f05c579fdb23dcb2d7ba52 (diff)
gnu: Add rust-paste-0.1.
* gnu/packages/crates-io.scm (rust-paste-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b427136fe7..d1864186f9 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")