summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-04 14:40:01 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-04 14:40:01 +0100
commita59aaad6dd92039e8ac881f6a4a48c541a0f87f8 (patch)
treebd63ec697da38c56fe31b2d50424752913ba60e5
parenta67118ef270484985c628e8b61ea54fff953f366 (diff)
gnu: Add rust-proc-macro-crate-0.1.
* gnu/packages/crates-io.scm (rust-proc-macro-crate-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
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")