diff mbox series

[bug#67515,30/91] gnu: Add rust-assert2-macros-0.3.

Message ID DU2P193MB21320418E56163B09BF6761BF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#67515,01/91] gnu: Add blueprint-compiler-next. | expand

Commit Message

Sergio Pastor PĂ©rez Nov. 28, 2023, 9:12 p.m. UTC
* gnu/packages/crates-io.scm (rust-assert2-macros-0.3): New variable.

Change-Id: I270c282016581010508fbe7ba9542720e6cc324b
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9d47e9c03c..b9a2f17a23 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4922,6 +4922,28 @@  (define-public rust-ascii-utils-0.9
      "This library provides utilities to handle ASCII characters.")
     (license license:mpl2.0)))
 
+(define-public rust-assert2-macros-0.3
+  (package
+    (name "rust-assert2-macros")
+    (version "0.3.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "assert2-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0dcjbac962smxr6pmnsd6mdglh6any36ifshqzqzi4ppwvrvsmbc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-rustc-version" ,rust-rustc-version-0.4)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/de-vri-es/assert2-rs")
+    (synopsis "procedural macros for assert2")
+    (description "procedural macros for assert2")
+    (license license:bsd-2)))
+
 (define-public rust-assert-0.7
   (package
     (name "rust-assert")