gnu: Add rust-assert-json-diff-2.

* gnu/packages/crates-io.scm (rust-assert-json-diff-2): Add variable.

Change-Id: I4cba34d21e7d52c9d4110837ce7ad04e065d6f17
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Herman Rimm 2024-02-18 22:08:13 +01:00 committed by Efraim Flashner
parent a767c98c6f
commit f4d6aed096
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4430,6 +4430,30 @@ (define-public rust-assert-impl-0.1
(description "Macro for static assert types implement a trait or not")
(license license:expat)))
(define-public rust-assert-json-diff-2
(package
(name "rust-assert-json-diff")
(version "2.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "assert-json-diff" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "04mg3w0rh3schpla51l18362hsirl23q93aisws2irrj32wg5r27"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))
#:cargo-development-inputs
(("rust-serde" ,rust-serde-1)
("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 package lets you easily compare two JSON values
and get great output.")
(license license:expat)))
(define-public rust-assert-matches-1
(package
(name "rust-assert-matches")