[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/22: gnu: Add rust-similar-asserts.
From: |
guix-commits |
Subject: |
02/22: gnu: Add rust-similar-asserts. |
Date: |
Wed, 27 Jul 2022 06:32:25 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit b9ad6cb413f7de052e24654201f7a56dcb3411b0
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jul 27 12:04:16 2022 +0200
gnu: Add rust-similar-asserts.
* gnu/packages/crates-io.scm (rust-similar-asserts-1): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b2a284161..eeab528ced 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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")
- branch master updated (75bc96ed8e -> 25d59733a5), guix-commits, 2022/07/27
- 02/22: gnu: Add rust-similar-asserts.,
guix-commits <=
- 01/22: gnu: rust-version-compare: Add 0.1., guix-commits, 2022/07/27
- 07/22: gnu: rust-language-tags: Add 0.3.2., guix-commits, 2022/07/27
- 03/22: gnu: rust-cast: Add 0.3., guix-commits, 2022/07/27
- 04/22: gnu: rust-serial-test-derive: Add 0.6.0., guix-commits, 2022/07/27
- 05/22: gnu: Add rust-fslock., guix-commits, 2022/07/27
- 06/22: gnu: rust-serial-test: Add 0.6.0., guix-commits, 2022/07/27
- 11/22: gnu: rust-nalgebra: Add 0.29.0., guix-commits, 2022/07/27
- 13/22: gnu: rust-selectors: Add 0.23.0., guix-commits, 2022/07/27
- 08/22: gnu: rust-safe-arch: Add 0.6.0., guix-commits, 2022/07/27
- 19/22: gnu: rust-num-enum-derive: Add 0.5.7., guix-commits, 2022/07/27