From a59aaad6dd92039e8ac881f6a4a48c541a0f87f8 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 4 Dec 2020 14:40:01 +0100 Subject: gnu: Add rust-proc-macro-crate-0.1. * gnu/packages/crates-io.scm (rust-proc-macro-crate-0.1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 460c0a6707..a08cc690a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20199,6 +20199,29 @@ replacements, adding colorful diffs.") formatted tables in terminal.") (license license:bsd-3))) +(define-public rust-proc-macro-crate-0.1 + (package + (name "rust-proc-macro-crate") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "proc-macro-crate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11cpihdk9ba68hzw95aa8zxn0i5g6kdrfd4l2cy3d5jvb72a6vhx")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-toml" ,rust-toml-0.5)))) + (home-page "https://github.com/bkchr/proc-macro-crate") + (synopsis "Support for @code{$crate} in procedural macros") + (description + "This crate provides a way to get the name of a crate, even if it +renamed in @file{Cargo.toml}.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-proc-macro-error-1 (package (name "rust-proc-macro-error") -- cgit 1.4.1