Subject: [bug#75677] [PATCH rust-team v2 38/81] gnu: rust-cool-asserts-2: New variable.

From: Aaron Covrig <[email-masked]>
Date: Fri, 7 Mar 2025 22:33:44 -0500

* gnu/packages/crates-io.scm (rust-cool-asserts-2): 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 a2c8a97815..c9063b21be 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15959,6 +15959,29 @@ (define-public rust-convert-case-0.4
        #:cargo-inputs
        (("rust-rand" ,rust-rand-0.7))))))
 
+(define-public rust-cool-asserts-2
+  (package
+    (name "rust-cool-asserts")
+    (version "2.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cool_asserts" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1v18dg7ifx41k2f82j3gsnpm1fg9wk5s4zv7sf42c7pnad72b7zf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--"
+         ;; Skip broken tests
+         "--skip=src/assertion_failure.rs - assertion_failure::assertion_failure (line 88)")
+       #:cargo-inputs (("rust-indent-write" ,rust-indent-write-2))))
+    (home-page "https://github.com/Lucretiel/cool_asserts")
+    (synopsis "Testing assertions and utilities")
+    (description "A rust library for pattern-matching assertions.")
+    (license license:mpl2.0)))
+
 (define-public rust-coolor-0.8
   (package
     (name "rust-coolor")
-- 
2.48.1