unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 73106@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#73106] [PATCH 04/10] gnu: Add rust-macro-rules-attribute-0.2.
Date: Sat,  7 Sep 2024 18:56:10 +0200	[thread overview]
Message-ID: <20240907165626.22651-4-ngraves@ngraves.fr> (raw)
In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr>

* gnu/packages/crates-io.scm (rust-macro-rules-attribute-0.2): New variable.

Change-Id: I62c9ba35a8a9f71f05f0f3c5307d7abe11f408c8
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d04f8723fd..658721b123 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41097,6 +41097,34 @@ (define-public rust-macro-rules-attribute-proc-macro-0.2
 details to @code{rust-macro-rules-attribute}.")
     (license license:expat)))
 
+(define-public rust-macro-rules-attribute-0.2
+  (package
+    (name "rust-macro-rules-attribute")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "macro_rules_attribute" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04waa4qm28adwnxsxhx9135ki68mwkikr6m5pi5xhcy0gcgjg0la"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-macro-rules-attribute-proc-macro"
+         ,rust-macro-rules-attribute-proc-macro-0.2)
+        ("rust-paste" ,rust-paste-1))
+       #:cargo-development-inputs
+       (("rust-once-cell" ,rust-once-cell-1)
+        ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+        ("rust-serde" ,rust-serde-1))))
+    (home-page "https://crates.io/crates/macro_rules_attribute")
+    (synopsis "Use declarative macros in Rust")
+    (description
+     "This package provides the ability to use Rust declarative macros as
+proc_macro attributes or derives.")
+    (license license:expat)))
+
 (define-public rust-macrotest-1
   (package
     (name "rust-macrotest")
-- 
2.45.2





  parent reply	other threads:[~2024-09-07 16:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-07 16:21 [bug#73106] [PATCH 00/10] Add python-tokenizers Nicolas Graves via Guix-patches via
2024-09-07 16:56 ` [bug#73106] [PATCH 01/10] gnu: Add rust-esaxx-rs-0.1 Nicolas Graves via Guix-patches via
2024-09-07 16:56   ` [bug#73106] [PATCH 02/10] gnu: Add rust-spm-precompiled-0.1 Nicolas Graves via Guix-patches via
2024-09-07 16:56   ` [bug#73106] [PATCH 03/10] gnu: Add rust-macro-rules-attribute-proc-macro-0.2 Nicolas Graves via Guix-patches via
2024-09-07 16:56   ` Nicolas Graves via Guix-patches via [this message]
2024-09-07 16:56   ` [bug#73106] [PATCH 05/10] gnu: Add rust-hf-hub-0.3 Nicolas Graves via Guix-patches via
2024-09-07 16:56   ` [bug#73106] [PATCH 06/10] gnu: Add rust-monostate-impl-0.1 Nicolas Graves via Guix-patches via
2024-09-07 16:56   ` [bug#73106] [PATCH 07/10] gnu: Add rust-monostate-0.1 Nicolas Graves via Guix-patches via
2024-09-07 16:56   ` [bug#73106] [PATCH 08/10] gnu: Add rust-tokenizers Nicolas Graves via Guix-patches via
2024-09-07 16:56   ` [bug#73106] [PATCH 09/10] gnu: Add rust-numpy-0.21 Nicolas Graves via Guix-patches via
2024-09-07 16:56   ` [bug#73106] [PATCH 10/10] gnu: Add python-tokenizers Nicolas Graves via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240907165626.22651-4-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=73106@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).