efraim pushed a commit to branch rust-team
in repository guix.
commit 2c31a1589870b3f13ea5e15225975c1260665e6d
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Feb 22 12:00:02 2023 +0200
gnu: Add rust-trycmd-0.14.
* gnu/packages/crates-io.scm (rust-trycmd-0.14): New variable.
(rust-trycmd-0.13): Inherit from rust-trycmd-0.14.
---
gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++++-----
1 file changed, 30 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a0281f16dd..00a918620e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65419,17 +65419,16 @@ 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
+(define-public rust-trycmd-0.14
(package
(name "rust-trycmd")
- (version "0.13.7")
+ (version "0.14.12")
(source (origin
(method url-fetch)
(uri (crate-uri "trycmd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1slz0b87k0n2hgbv76yc8wm68nh6cqi2lgm6gpcnkfz8rcrpndx5"))))
+ (base32
"10ag8s931glx0g1arj823dph27x77jc37nal733z7pal2g4dwiq3"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -65443,7 +65442,7 @@ the Trust-DNS client to use rustls for TLS.")
("rust-serde-json" ,rust-serde-json-1)
("rust-shlex" ,rust-shlex-1)
("rust-snapbox" ,rust-snapbox-0.4)
- ("rust-toml-edit" ,rust-toml-edit-0.14))))
+ ("rust-toml-edit" ,rust-toml-edit-0.19))))
(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
@@ -65451,6 +65450,32 @@ 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-trycmd-0.13
+ (package
+ (inherit rust-trycmd-0.14)
+ (name "rust-trycmd")
+ (version "0.13.7")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "trycmd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1slz0b87k0n2hgbv76yc8wm68nh6cqi2lgm6gpcnkfz8rcrpndx5"))))
+ (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.4)
+ ("rust-toml-edit" ,rust-toml-edit-0.14))))))
+
(define-public rust-ttf-parser-0.12
(package
(name "rust-ttf-parser")