diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-21 22:33:28 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-05 21:14:14 +0100 |
commit | 9b8b86b3ca8ace2d9d7ef6957252f693d5cdf911 (patch) | |
tree | d595c7217507e9310608e0cacfbef7612d5c02bf | |
parent | 48f6705d1c14c56d6b540ff5bc2ce6e9e60eb6c5 (diff) | |
download | guix-patches-9b8b86b3ca8ace2d9d7ef6957252f693d5cdf911.tar guix-patches-9b8b86b3ca8ace2d9d7ef6957252f693d5cdf911.tar.gz |
gnu: Add rust-insta-0.12.
* gnu/packages/crates-io.scm (rust-insta-0.12): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a225b17e44..9939ac818b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14879,6 +14879,35 @@ written in Rust.") (description "This package provides a snapshot testing library for Rust.") (license license:asl2.0))) +(define-public rust-insta-0.12 + (package + (inherit rust-insta-0.16) + (name "rust-insta") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "insta" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j8k8rfcbdvh2s3jfj9hj7mspl32rqxqa393cw55jhg8cb09sj8d")))) + (arguments + `(#:cargo-test-flags + '("--release" + "--" + "--skip=runtime::test_format_rust_expression") + #:cargo-inputs + (("rust-console" ,rust-console-0.9) + ("rust-difference" ,rust-difference-2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("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) + ("rust-uuid" ,rust-uuid-0.8)))))) + (define-public rust-insta-0.8 (package (inherit rust-insta-0.16) |