[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/24: gnu: Add rust-assert-json-diff-1.
From: |
guix-commits |
Subject: |
02/24: gnu: Add rust-assert-json-diff-1. |
Date: |
Tue, 5 Jan 2021 15:17:02 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 99f73895c09089955ca51b52e3b8c9ac6d12b67d
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Dec 21 15:38:40 2020 +0100
gnu: Add rust-assert-json-diff-1.
* gnu/packages/crates-io.scm (rust-assert-json-diff-1): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9aa75c..dfc1c28 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1175,6 +1175,36 @@ standard library.")
"File system fixtures and assertions for testing.")
(license (list license:expat license:asl2.0))))
+(define-public rust-assert-json-diff-1
+ (package
+ (name "rust-assert-json-diff")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "assert-json-diff" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1h2w4n8f8a1n9sc8snka0arzw5x95ky5k8i7603z3lhkcplwnna2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-extend" ,rust-extend-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1))
+ #:cargo-development-inputs
+ (("rust-version-sync" ,rust-version-sync-0.8))))
+ (home-page "https://github.com/davidpdrsn/assert-json-diff")
+ (synopsis "Easily compare two JSON values and get great output")
+ (description
+ "This crate includes macros for comparing two serializable values
+by diffing their JSON representations. It is designed to give much
+more helpful error messages than the standard @code{assert_eq!. It
+basically does a diff of the two objects and tells you the exact
+differences. This is useful when asserting that two large JSON
+objects are the same.")
+ (license license:expat)))
+
(define-public rust-assert-matches-1.3
(package
(name "rust-assert-matches")
- branch master updated (a5d82fd -> d54597f), guix-commits, 2021/01/05
- 05/24: gnu: Add rust-nanorand-0.4., guix-commits, 2021/01/05
- 02/24: gnu: Add rust-assert-json-diff-1.,
guix-commits <=
- 09/24: gnu: rust-curl-sys-0.4: Update to 0.4.39+curl-7.74.0., guix-commits, 2021/01/05
- 04/24: gnu: Add rust-sluice-0.5., guix-commits, 2021/01/05
- 01/24: gnu: Add rust-extend-0.1., guix-commits, 2021/01/05
- 06/24: gnu: Add rust-flume-0.9., guix-commits, 2021/01/05
- 10/24: gnu: Add rust-curl-0.4., guix-commits, 2021/01/05
- 07/24: gnu: Add rust-enum-to-u8-slice-derive-0.1., guix-commits, 2021/01/05
- 08/24: gnu: Add rust-mesalink-1., guix-commits, 2021/01/05
- 03/24: gnu: Add rust-mockito-0.23., guix-commits, 2021/01/05
- 11/24: gnu: Add rust-env-logger-0.8., guix-commits, 2021/01/05
- 12/24: gnu: Add rust-indicatif-0.15., guix-commits, 2021/01/05