[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/43: gnu: Add rust-insta-1.
From: |
guix-commits |
Subject: |
18/43: gnu: Add rust-insta-1. |
Date: |
Tue, 8 Jun 2021 05:06:28 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit d0bd3b84b52459e12f50cb8cd7420e866da13048
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Jun 8 10:27:27 2021 +0200
gnu: Add rust-insta-1.
* gnu/packages/crates-io.scm (rust-insta-1): New variable.
(rust-insta-0.16): Inherit from above.
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++------
1 file changed, 38 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d9fdec9..2d8006b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20552,8 +20552,45 @@ written in Rust.")
data efficiently.")
(license (list license:expat license:asl2.0))))
+(define-public rust-insta-1
+ (package
+ (name "rust-insta")
+ (version "1.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "insta" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i4jdrr888h0qvfhy2b4vvswlpi2x2ghwg31ljfa9kki54db58f4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-console" ,rust-console-0.14)
+ ("rust-csv" ,rust-csv-1)
+ ("rust-globset" ,rust-globset-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-pest" ,rust-pest-2)
+ ("rust-pest-derive" ,rust-pest-derive-2)
+ ("rust-ron" ,rust-ron-0.6)
+ ("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-toml" ,rust-toml-0.5)
+ ("rust-uuid" ,rust-uuid-0.8)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (home-page "https://insta.rs/")
+ (synopsis "Snapshot testing library for Rust")
+ (description
+ "This package provides a snapshot testing library for Rust.")
+ (license license:asl2.0)))
+
(define-public rust-insta-0.16
(package
+ (inherit rust-insta-1)
(name "rust-insta")
(version "0.16.1")
(source
@@ -20564,7 +20601,6 @@ data efficiently.")
(sha256
(base32
"1vhqlirp75nx8qalz87qk2wjs7mzwxww0n09n2ircgw1phd94zk1"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-backtrace" ,rust-backtrace-0.3)
@@ -20577,11 +20613,7 @@ data efficiently.")
("rust-ron" ,rust-ron-0.5)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
- ("rust-serde-yaml" ,rust-serde-yaml-0.8))))
- (home-page "https://github.com/mitsuhiko/insta")
- (synopsis "Snapshot testing library for Rust")
- (description "This package provides a snapshot testing library for Rust.")
- (license license:asl2.0)))
+ ("rust-serde-yaml" ,rust-serde-yaml-0.8))))))
(define-public rust-insta-0.12
(package
- 16/43: gnu: Add rust-similar-1., (continued)
- 16/43: gnu: Add rust-similar-1., guix-commits, 2021/06/08
- 17/43: gnu: Add rust-ron-0.6., guix-commits, 2021/06/08
- 20/43: gnu: rust-pest-2: Update to 2.1.3., guix-commits, 2021/06/08
- 19/43: gnu: Add rust-winreg-0.8., guix-commits, 2021/06/08
- 11/43: gnu: rust-thiserror-impl-1: Update to 1.0.25., guix-commits, 2021/06/08
- 15/43: gnu: rust-zip-0.5: Update to 0.5.13., guix-commits, 2021/06/08
- 14/43: gnu: Add rust-clearscreen-1., guix-commits, 2021/06/08
- 07/43: gnu: Add rust-darling-0.12., guix-commits, 2021/06/08
- 09/43: gnu: Add rust-derive-builder-macro-0.10., guix-commits, 2021/06/08
- 13/43: gnu: Add rust-terminfo-0.7., guix-commits, 2021/06/08
- 18/43: gnu: Add rust-insta-1.,
guix-commits <=
- 24/43: gnu: Add rust-tectonic-errors-0.2., guix-commits, 2021/06/08
- 22/43: gnu: Add rust-watchexec-1., guix-commits, 2021/06/08
- 21/43: gnu: rust-embed-resource-1: Update to 1.6.2., guix-commits, 2021/06/08
- 27/43: gnu: rust-flate2-1: Update to 1.0.20., guix-commits, 2021/06/08
- 28/43: gnu: Add rust-tectonic-geturl-0.2., guix-commits, 2021/06/08
- 31/43: gnu: Add rust-tectonic-bridge-freetype2-0.2., guix-commits, 2021/06/08
- 32/43: gnu: Add rust-tectonic-bridge-flate-0.1., guix-commits, 2021/06/08
- 25/43: gnu: Add rust-tectonic-errors-0.1., guix-commits, 2021/06/08
- 29/43: gnu: rust-tectonic-cfg-support-0.1: Update to 0.1.3., guix-commits, 2021/06/08
- 35/43: gnu: Add rust-tectonic-bridge-harfbuzz-0.2., guix-commits, 2021/06/08