gnu: Add rust-trycmd-0.15.

* gnu/packages/crates-io.scm (rust-trycmd-0.15): New variable.
(rust-trycmd-0.14): Inherit from rust-trycmd-0.15.

Change-Id: Ib318a6ddc68cdd1dbe0317976ac18a49809c7439
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
VÖRÖSKŐI András 2024-02-24 21:40:08 +01:00 committed by Efraim Flashner
parent b8d27c0e06
commit d6e4b45e90
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -78187,8 +78187,41 @@ (define-public rust-trybuild2-1
(with support for inline tests).")
(license (list license:expat license:asl2.0))))
(define-public rust-trycmd-0.15
(package
(name "rust-trycmd")
(version "0.15.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "trycmd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05sklyyprn2a365jzby0zn7z97p6mpgi2yzlr2s506m80cvdnkj6"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6)
("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.5)
("rust-toml-edit" ,rust-toml-edit-0.22))))
(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-trycmd-0.14
(package
(inherit rust-trycmd-0.15)
(name "rust-trycmd")
(version "0.14.19")
(source (origin
@ -78197,7 +78230,6 @@ (define-public rust-trycmd-0.14
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1yz4prkmnb1y406p0aq3r8yf11alj8i94yvnz3k07c9glir9607d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-anstream" ,rust-anstream-0.6)
@ -78211,13 +78243,7 @@ (define-public rust-trycmd-0.14
("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.20))))
(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))))
("rust-toml-edit" ,rust-toml-edit-0.20))))))
(define-public rust-trycmd-0.13
(package