diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-04-24 22:38:05 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-05-05 13:20:30 +0200 |
commit | 2182dd234d33080ed7d31d71bada7a4a7fc3ffbb (patch) | |
tree | 70a3095b560616e082a4b2b86469cb429384d1fe | |
parent | f71b062a8ab6d5f606eddca50fd12a8cfb5c6a34 (diff) | |
download | patches-2182dd234d33080ed7d31d71bada7a4a7fc3ffbb.tar patches-2182dd234d33080ed7d31d71bada7a4a7fc3ffbb.tar.gz |
gnu: Add rust-pretty-assertions-0.2.
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.2): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 63ee90277e..1f62a5f5e2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16573,6 +16573,27 @@ dependency to expose a precomputed hash.") replacements, adding colorful diffs.") (license (list license:expat license:asl2.0)))) +(define-public rust-pretty-assertions-0.2 + (package + (name "rust-pretty-assertions") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty-assertions" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b3nv70i16737w3qkk1q5vqswwnb19znz8r9v2kcg1qyhh3h0l8x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-difference" ,rust-difference-1)))) + (home-page "https://github.com/colin-kiegel/rust-pretty-assertions") + (synopsis "Colorful diffs for `assert_eq!` and `assert_ne!`") + (description "Overwrite `assert_eq!` and `assert_ne!` with drop-in +replacements, adding colorful diffs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pretty-env-logger-0.3 (package (name "rust-pretty-env-logger") |