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")