summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-10-24 16:09:52 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-10-24 17:40:47 +0300
commit6b9f99e459c1d6d7564c00f29b872faf47c14194 (patch)
tree028a6a40ae2583bae7c88fe555acc5996c5d8edc /gnu
parentc6e2637bc1688289a506eff01a7eef64680420e4 (diff)
downloadguix-6b9f99e459c1d6d7564c00f29b872faf47c14194.tar.gz
gnu: Add rust-snapbox-0.4.
* gnu/packages/crates-io.scm (rust-snapbox-0.4): New variable.
(rust-snapbox-0.2): Inherit from rust-snapbox-0.4.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm42
1 files changed, 37 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d39011cf8e..52552640c9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54412,17 +54412,17 @@ It is also flexible enough to build your own test harness like @code{trycmd}.")
                (base32
                 "0c79lnjcs9yp62y665swv5y5y6088qc256bfr3s7xcnb0izfl7f0"))))))
 
-(define-public rust-snapbox-0.2
+(define-public rust-snapbox-0.4
   (package
     (name "rust-snapbox")
-    (version "0.2.10")
+    (version "0.4.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "snapbox" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "14zxmsi4k9a9vgp9vs1q62ff1k57p26rwp5xs6f9bdijl9fisykn"))))
+                "1pad85id96wa6ngipdmfdbwaj0v9xd41p0rhb0f65lgcdrjrd2pr"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -54433,11 +54433,12 @@ It is also flexible enough to build your own test harness like @code{trycmd}.")
         ("rust-dunce" ,rust-dunce-1)
         ("rust-filetime" ,rust-filetime-0.2)
         ("rust-ignore" ,rust-ignore-0.4)
-        ("rust-libtest-mimic" ,rust-libtest-mimic-0.3)
+        ("rust-libtest-mimic" ,rust-libtest-mimic-0.5)
         ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)
         ("rust-os-pipe" ,rust-os-pipe-1)
+        ("rust-serde-json" ,rust-serde-json-1)
         ("rust-similar" ,rust-similar-2)
-        ("rust-snapbox-macros" ,rust-snapbox-macros-0.2)
+        ("rust-snapbox-macros" ,rust-snapbox-macros-0.3)
         ("rust-tempfile" ,rust-tempfile-3)
         ("rust-wait-timeout" ,rust-wait-timeout-0.2)
         ("rust-walkdir" ,rust-walkdir-2)
@@ -54457,6 +54458,37 @@ output from
 It is also flexible enough to build your own test harness like @code{trycmd}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-snapbox-0.2
+  (package
+    (inherit rust-snapbox-0.4)
+    (name "rust-snapbox")
+    (version "0.2.10")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "snapbox" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "14zxmsi4k9a9vgp9vs1q62ff1k57p26rwp5xs6f9bdijl9fisykn"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-backtrace" ,rust-backtrace-0.3)
+        ("rust-concolor" ,rust-concolor-0.0.8)
+        ("rust-content-inspector" ,rust-content-inspector-0.2)
+        ("rust-document-features" ,rust-document-features-0.2)
+        ("rust-dunce" ,rust-dunce-1)
+        ("rust-filetime" ,rust-filetime-0.2)
+        ("rust-ignore" ,rust-ignore-0.4)
+        ("rust-libtest-mimic" ,rust-libtest-mimic-0.3)
+        ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)
+        ("rust-os-pipe" ,rust-os-pipe-1)
+        ("rust-similar" ,rust-similar-2)
+        ("rust-snapbox-macros" ,rust-snapbox-macros-0.2)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-wait-timeout" ,rust-wait-timeout-0.2)
+        ("rust-walkdir" ,rust-walkdir-2)
+        ("rust-yansi" ,rust-yansi-0.5))))))
+
 (define-public rust-snappy-cpp-0.1
   (package
     (name "rust-snappy-cpp")