From ab0a2216d75369f7211b5b099c39630c901a02ec Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 09:03:19 -0800 Subject: gnu: Add rust-paste-0.1. * gnu/packages/crates-io.scm (rust-paste-0.1): New variable. Signed-off-by: Efraim Flashner --- 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 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") -- cgit 1.4.1