mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
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>
This commit is contained in:
parent
af7f2860b5
commit
6597c07b74
1 changed files with 37 additions and 16 deletions
|
@ -34303,27 +34303,26 @@ (define-public rust-pretty-0.5
|
|||
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 @@ (define-public rust-pretty-assertions-0.6
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue