aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-07-06 13:59:44 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-07-06 14:00:21 +0200
commit5bd7de4cede4d529bf4477d87dd82517d7280f91 (patch)
tree893607584cfd74d20a11cf97c68ed1f6cdb81e41
parentc813136330fc36c8ade2375fc0b77c9ea364c03a (diff)
downloadguix-5bd7de4cede4d529bf4477d87dd82517d7280f91.tar
guix-5bd7de4cede4d529bf4477d87dd82517d7280f91.tar.gz
gnu: Add rust-trycmd-0.13.
* gnu/packages/crates-io.scm (rust-trycmd-0.13): New variable.
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
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")