gnu: Add rust-similar-asserts.
* gnu/packages/crates-io.scm (rust-similar-asserts-1): New variable.master
parent
6fd0b018c6
commit
b9ad6cb413
|
@ -56532,6 +56532,32 @@ extensions.")
|
|||
(description "This package provides a diff library for Rust.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public rust-similar-asserts-1
|
||||
(package
|
||||
(name "rust-similar-asserts")
|
||||
(version "1.2.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "similar-asserts" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1789db0fm85p4zvy44b2jwdjgw6h2b51bi133kak2l1pl8qzbjb4"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-console" ,rust-console-0.15)
|
||||
("rust-serde" ,rust-serde-1)
|
||||
("rust-similar" ,rust-similar-2))
|
||||
#:cargo-development-inputs
|
||||
(("rust-serde" ,rust-serde-1))))
|
||||
(home-page "https://github.com/mitsuhiko/similar-asserts")
|
||||
(synopsis "Asserts macros with colorized diff output")
|
||||
(description
|
||||
"This crate provides @code{assert_eq!}-like macros with colorized
|
||||
diff output.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public rust-simplelog-0.11
|
||||
(package
|
||||
(name "rust-simplelog")
|
||||
|
|
Reference in New Issue