guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/08: gnu: Add rust-trycmd-0.13.


From: guix-commits
Subject: 07/08: gnu: Add rust-trycmd-0.13.
Date: Wed, 6 Jul 2022 08:05:23 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 5bd7de4cede4d529bf4477d87dd82517d7280f91
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jul 6 13:59:44 2022 +0200

    gnu: Add rust-trycmd-0.13.
    
    * gnu/packages/crates-io.scm (rust-trycmd-0.13): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9fbccf4289..16ac36c9f5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67086,6 +67086,38 @@ the Trust-DNS client to use rustls for TLS.")
      "Test harness for ui tests of compiler diagnostics.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-trycmd-0.13
+  (package
+    (name "rust-trycmd")
+    (version "0.13.4")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "trycmd" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "04wzh907rkxac5kxlai0s630qh9z122w2m1s2x14d46c4r8iid7z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-escargot" ,rust-escargot-0.5)
+        ("rust-glob" ,rust-glob-0.3)
+        ("rust-humantime" ,rust-humantime-2)
+        ("rust-humantime-serde" ,rust-humantime-serde-1)
+        ("rust-rayon" ,rust-rayon-1)
+        ("rust-schemars" ,rust-schemars-0.8)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-shlex" ,rust-shlex-1)
+        ("rust-snapbox" ,rust-snapbox-0.2)
+        ("rust-toml-edit" ,rust-toml-edit-0.14))))
+    (home-page "https://github.com/assert-rs/trycmd";)
+    (synopsis "Snapshot testing for a herd of CLI tests")
+    (description
+     "trycmd is a test harness that will enumerate test case files and run 
them to
+verify the results, taking inspiration from @code{trybuild} and @code{cram}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ttf-parser-0.12
   (package
     (name "rust-ttf-parser")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]