guix-commits
[Top][All Lists]
Advanced

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

05/37: gnu: rust-insta-1: Update to 1.28.0.


From: guix-commits
Subject: 05/37: gnu: rust-insta-1: Update to 1.28.0.
Date: Thu, 9 Mar 2023 12:11:59 -0500 (EST)

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

commit 9097f0525428fbb5ba5a7b9663b0050dc064003c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 9 16:29:11 2023 +0200

    gnu: rust-insta-1: Update to 1.28.0.
    
    * gnu/packages/crates-io.scm (rust-insta-1): Update to 1.28.0.
    [arguments]: Don't skip build. Add cargo-test-flags.
    [cargo-inputs]: Add rust-linked-hash-map-0.5, rust-regex-1,
    rust-yaml-rust-0.4.  Remove rust-backtrace-0.3, rust-serde-json-1,
    rust-serde-yaml-0.8, rust-uuid-0.8.  Replace rust-console-0.14 with
    0.15, rust-ron-0.6 with 0.7, rust-similar-1 with 2.
    [cargo-development-inputs]: Add rust-serde-1, rust-similar-asserts-1.
---
 gnu/packages/crates-io.scm | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7a20fff361..cf99c94ebc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28821,33 +28821,38 @@ over in-place and buffer-to-buffer modes of 
operation.")
 (define-public rust-insta-1
   (package
     (name "rust-insta")
-    (version "1.7.1")
+    (version "1.28.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "insta" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0i4jdrr888h0qvfhy2b4vvswlpi2x2ghwg31ljfa9kki54db58f4"))))
+        (base32 "16d0r0pbl9f86zb0rbvlc25964ayq47n7203rx5nnipy9a4v79gy"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-test-flags
+       '("--release"
+         "--"
+         "--skip=utils::test_format_rust_expression")
        #:cargo-inputs
-       (("rust-backtrace" ,rust-backtrace-0.3)
-        ("rust-console" ,rust-console-0.14)
+       (("rust-console" ,rust-console-0.15)
         ("rust-csv" ,rust-csv-1)
         ("rust-globset" ,rust-globset-0.4)
         ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-linked-hash-map" ,rust-linked-hash-map-0.5)
         ("rust-pest" ,rust-pest-2)
         ("rust-pest-derive" ,rust-pest-derive-2)
-        ("rust-ron" ,rust-ron-0.6)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-ron" ,rust-ron-0.7)
         ("rust-serde" ,rust-serde-1)
-        ("rust-serde-json" ,rust-serde-json-1)
-        ("rust-serde-yaml" ,rust-serde-yaml-0.8)
-        ("rust-similar" ,rust-similar-1)
+        ("rust-similar" ,rust-similar-2)
         ("rust-toml" ,rust-toml-0.5)
-        ("rust-uuid" ,rust-uuid-0.8)
-        ("rust-walkdir" ,rust-walkdir-2))))
+        ("rust-walkdir" ,rust-walkdir-2)
+        ("rust-yaml-rust" ,rust-yaml-rust-0.4))
+       #:cargo-development-inputs
+       (("rust-serde" ,rust-serde-1)
+        ("rust-similar-asserts" ,rust-similar-asserts-1))))
     (home-page "https://insta.rs/";)
     (synopsis "Snapshot testing library for Rust")
     (description



reply via email to

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