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.
This commit is contained in:
Efraim Flashner 2023-02-22 12:00:02 +02:00
parent 58066f1047
commit da49c824f8
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -65741,17 +65741,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
@ -65765,7 +65764,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
@ -65773,6 +65772,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")