me
/
guix
Archived
1
0
Fork 0

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>
master
Milkey Mouse 2021-08-31 20:54:07 -07:00 committed by Nicolas Goaziou
parent af7f2860b5
commit 6597c07b74
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 37 additions and 16 deletions

View File

@ -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)