Subject: [bug#56037] [PATCH 06/14] gnu: Add rust-libtest-mimic-0.3.

From: Gabriel Arazas <[email-masked]>
Date: Fri, 17 Jun 2022 19:59:07 +0800

* gnu/packages/crates-io.scm (rust-libtest-mimic-0.3): New variable.
---
 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 f878fb83aa..7585568493 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31928,6 +31928,34 @@ (define-public rust-libsqlite3-sys-0.15
         ("rust-pkg-config" ,rust-pkg-config-0.3)
         ("rust-vcpkg" ,rust-vcpkg-0.2))))))
 
+(define-public rust-libtest-mimic-0.3
+  (package
+    (name "rust-libtest-mimic")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libtest-mimic" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1bp2jllwpciljr14g6s9bk4835g46kszgrjwi66vxxsk3ynbi9q8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) ("rust-rayon" ,rust-rayon-1)
+        ("rust-structopt" ,rust-structopt-0.3)
+        ("rust-termcolor" ,rust-termcolor-1))))
+    (home-page "https://github.com/LukasKalbertodt/libtest-mimic")
+    (synopsis
+     "Write your own test harness that looks and behaves like the built-in
+test harness used by @code{rustc --test}")
+    (description
+     "This package provides a small testing framework for command-line
+applications while behaving like the output results from @code{rustc --test},
+letting you focus on actual testing.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-libxml-0.3
   (package
     (name "rust-libxml")
-- 
2.36.1