guix-commits
[Top][All Lists]
Advanced

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

32/68: gnu: Add rust-assert-json-diff-2.


From: guix-commits
Subject: 32/68: gnu: Add rust-assert-json-diff-2.
Date: Wed, 20 Mar 2024 11:24:32 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit d3e0301ae4b8010cc1f38689f6868436eda88975
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:08:13 2024 +0100

    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>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 55fd468246..f5baca8159 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4409,6 +4409,30 @@ assertions on the result of your program's run.")
     (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")



reply via email to

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