[gnu: Add dua-cli. 17/27] gnu: Add rust-pretty-assertions-1.2.

  • Open
  • quality assurance status badge
Details
2 participants
  • antlers
  • Maxime Devos
Owner
unassigned
Submitted by
antlers
Severity
normal
Merged with
A
A
antlers wrote on 18 Jun 2022 21:56
20220618195656.10108-18-antlers@luris.net
* gnu/packages/crates-io.scm (rust-pretty-assertions-1.2): New variable.
---
:100644 100644 d2944f8fbb 15dad28f05 M gnu/packages/crates-io.scm
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d2944f8fbb..15dad28f05 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44733,6 +44733,33 @@ (define-public rust-pretty-0.5
(("rust-termcolor" ,rust-termcolor-0.3)
("rust-typed-arena" ,rust-typed-arena-1))))))
+(define-public rust-pretty-assertions-1.2
+ (package
+ (name "rust-pretty-assertions")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pretty_assertions" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0qrmkdwqn56af498vi8zjyq44wzcyvj5ic1dv54d01s2r6d9i7y8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#: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
+ "Overwrite @code{assert_eq!} and @code{assert_ne!} with drop-in
+replacements, adding colorful diffs.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-pretty-assertions-0.7
(package
(name "rust-pretty-assertions")
--
2.36.0
M
M
Maxime Devos wrote on 19 Jun 2022 11:04
Re: [bug#56057] [PATCH 00/27] gnu: Add dua-cli.
(address . control@debbugs.gnu.org)
79b17d35358df25550bf846d732a57044c8436dd.camel@telenet.be
merge 56057 56056 56061 56059 56062 56058 56060 56063 56064 56065 56066 56069 56067 56074 56068 56073 56072 56070 56071 56057
thanks
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 56070@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 56070
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch