guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add rust-proc-macro-crate-0.1.


From: guix-commits
Subject: branch master updated: gnu: Add rust-proc-macro-crate-0.1.
Date: Fri, 04 Dec 2020 08:40:40 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new a59aaad  gnu: Add rust-proc-macro-crate-0.1.
a59aaad is described below

commit a59aaad6dd92039e8ac881f6a4a48c541a0f87f8
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Dec 4 14:40:01 2020 +0100

    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 460c0a6..a08cc69 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]