diff mbox series

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

Message ID 63c5d447662e3cbeb5a603e74cfa32754b1ab85b.1655465108.git.foo.dogsquared@gmail.com
State New
Headers show
Series [bug#56037,01/14] gnu: Add rust-kstring-2. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Gabriel Arazas June 17, 2022, 11:59 a.m. UTC
* gnu/packages/crates-io.scm (rust-libtest-mimic-0.3): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
diff mbox series

Patch

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")