guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: Add rust-pretty-assertions-0.4.


From: guix-commits
Subject: 04/06: gnu: Add rust-pretty-assertions-0.4.
Date: Tue, 29 Sep 2020 02:58:49 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit a24a02f61aade45d97b76657010bbf880a6d36d3
Author: Gabriel Arazas <foo.dogsquared@gmail.com>
AuthorDate: Fri Sep 25 01:53:36 2020 +0800

    gnu: Add rust-pretty-assertions-0.4.
    
    * gnu/packages/crates-io.scm (rust-pretty-assertions-0.4): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7c42fdf..d49fb49 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18903,6 +18903,27 @@ dependency to expose a precomputed hash.")
 replacements, adding colorful diffs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pretty-assertions-0.4
+  (package
+    (inherit rust-pretty-assertions-0.6)
+    (name "rust-pretty-assertions")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pretty_assertions" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1llxlnhh4qz9kda27v6nllgzvgi1fv08i3djfk4zn6zlw8c53si8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs
+       (("rust-ansi-term" ,rust-ansi-term-0.9)
+        ("rust-difference" ,rust-difference-1))))))
+
 (define-public rust-pretty-assertions-0.2
   (package
     (name "rust-pretty-assertions")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]