Subject: [PATCH 32/91] gnu: Add rust-assert2-0.3.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:10 +0100

* gnu/packages/crates-io.scm (rust-assert2-0.3): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 21fa1ae9ed..197d9e3e33 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4922,6 +4922,27 @@ (define-public rust-ascii-utils-0.9
      "This library provides utilities to handle ASCII characters.")
     (license license:mpl2.0)))
 
+(define-public rust-assert2-0.3
+  (package
+    (name "rust-assert2")
+    (version "0.3.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "assert2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "15cfdn5sl8ls6234pv2ysflw2xcxh8j1ypjlif7wnva0hc8qvyga"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-assert2-macros" ,rust-assert2-macros-0.3)
+                       ("rust-is-terminal" ,rust-is-terminal-0.4)
+                       ("rust-yansi" ,rust-yansi-0.5))))
+    (home-page "https://github.com/de-vri-es/assert2-rs")
+    (synopsis "assert!(...) and check!(...) macros inspired by Catch2")
+    (description "assert!(...) and check!(...) macros inspired by Catch2")
+    (license license:bsd-2)))
+
 (define-public rust-assert2-macros-0.3
   (package
     (name "rust-assert2-macros")
-- 
2.41.0