GNU bug report logs - #69257
[PATCH 000/228 rust-team] WIP: Add GNOME Fractal dependencies.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Sun, 18 Feb 2024 20:51:02 UTC

Severity: normal

Tags: patch

Full log


Message #788 received at 69257 <at> debbugs.gnu.org (full text, mbox):

From: Herman Rimm <herman <at> rimm.ee>
To: 69257 <at> debbugs.gnu.org
Subject: [PATCH rust-team v2 045/117] gnu: Add rust-macro-attr-0.2.
Date: Sun, 28 Apr 2024 20:55:11 +0200
* gnu/packages/crates-io.scm (rust-macro-attr-0.2): Add variable.

Change-Id: I4d012d4be818ac8e8576e8cce7270b65c0243e81
---
 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 6a82e031b5..8e30814805 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40592,6 +40592,34 @@ (define-public rust-macaddr-1
     (description "This pakcage provides MAC address types.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-macro-attr-0.2
+  (package
+    (name "rust-macro-attr")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "macro-attr" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0anc4valrldnn0gwaqlhlr4b5zh25g1lyy1x3fq65y1b1rpirr80"))
+       (modules '((guix build utils)))
+       (snippet '(substitute* "Cargo.toml"
+                   ;; Workspace members are not included.
+                   (("    \"tests/derive-name-(macro|proc|test)\",\r") "")
+                   (("    \"(enum|newtype)_derive\",\r") "")))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))
+    (home-page "https://github.com/DanielKeep/rust-custom-derive")
+    (synopsis "macro_attr! macro for custom attributes and derivations")
+    (description
+     "This package provides the `macro_attr!` macro that enables the use
+of custom, macro-based attributes and derivations.  Supercedes the
+`custom_derive` crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-macrotest-1
   (package
     (name "rust-macrotest")
-- 
2.41.0





This bug report was last modified 1 year and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.