diff options
author | VÖRÖSKŐI András <voroskoi@gmail.com> | 2024-02-24 21:40:08 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:42:32 +0300 |
commit | d6e4b45e90eccda3975254dac0308c046263b900 (patch) | |
tree | 80ee5760aa4a6a6d8e4702518639c8d4ef2ab5b5 | |
parent | b8d27c0e06b02f4c85d8f28ed02e007553194b11 (diff) | |
download | guix-d6e4b45e90eccda3975254dac0308c046263b900.tar guix-d6e4b45e90eccda3975254dac0308c046263b900.tar.gz |
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>
-rw-r--r-- | gnu/packages/crates-io.scm | 42 |
1 files changed, 34 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c5c62021a5..5fc48760cd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -78187,8 +78187,41 @@ etc. distance calculations and string search.") (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 @@ etc. distance calculations and string search.") (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 @@ etc. distance calculations and string search.") ("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 |