diff options
author | Milkey Mouse <milkeymouse@meme.institute> | 2021-08-31 20:54:07 -0700 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-07 22:01:11 +0200 |
commit | 6597c07b74c558e911bacf452e40e25d9bb79ef0 (patch) | |
tree | 1779a7a1748244ab70ad7759503eb388be5ae95f /gnu | |
parent | af7f2860b531dd3ba22b104a2fae7b2044436650 (diff) | |
download | guix-6597c07b74c558e911bacf452e40e25d9bb79ef0.tar.gz |
gnu: Add rust-pretty-assertions-0.7.
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.7): New variable. (rust-pretty-assertions-0.6): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 53 |
1 files changed, 37 insertions, 16 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 990fe221e0..68e096a7b6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -34303,27 +34303,26 @@ functions.") particularly useful for printing structured recursive data like trees.") (license license:expat))) -(define-public rust-pretty-assertions-0.6 +(define-public rust-pretty-assertions-0.7 (package (name "rust-pretty-assertions") - (version "0.6.1") + (version "0.7.2") (source - (origin - (method url-fetch) - (uri (crate-uri "pretty_assertions" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09yl14gnmpygiqrdlsa64lcl4w6ydjl9m8jri6kgam0v9rjf309z")))) + (origin + (method url-fetch) + (uri (crate-uri "pretty_assertions" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12yris0ni87wvzhj23a5nnz7amskvahhnpikx5snhdyg09y0xaqw")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ctor" ,rust-ctor-0.1) - ("rust-output-vt100" ,rust-output-vt100-0.1) - ("rust-ansi-term" ,rust-ansi-term-0.11) - ("rust-difference" ,rust-difference-2)))) + `(#:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-ctor" ,rust-ctor-0.1) + ("rust-diff" ,rust-diff-0.1) + ("rust-output-vt100" ,rust-output-vt100-0.1)))) (home-page "https://github.com/colin-kiegel/rust-pretty-assertions") (synopsis "Drop-in replacements for assert_eq! and assert_ne!") (description @@ -34331,6 +34330,28 @@ particularly useful for printing structured recursive data like trees.") replacements, adding colorful diffs.") (license (list license:expat license:asl2.0)))) +(define-public rust-pretty-assertions-0.6 + (package + (inherit rust-pretty-assertions-0.7) + (name "rust-pretty-assertions") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty_assertions" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09yl14gnmpygiqrdlsa64lcl4w6ydjl9m8jri6kgam0v9rjf309z")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ctor" ,rust-ctor-0.1) + ("rust-output-vt100" ,rust-output-vt100-0.1) + ("rust-ansi-term" ,rust-ansi-term-0.11) + ("rust-difference" ,rust-difference-2)))))) + (define-public rust-pretty-assertions-0.4 (package (inherit rust-pretty-assertions-0.6) |