diff options
author | Zheng junjie <873216071@qq.com> | 2021-06-11 19:44:40 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-13 19:13:59 +0200 |
commit | 271b6fbb227a9deb4cfe09dabae3170ef1cb765c (patch) | |
tree | 0f9e7dec035187c0a782dd82f632bdf9b5df293f /gnu/packages | |
parent | beadacfe41923d046da9cb92e8e0f1b1ef79574a (diff) |
gnu: Add rust-expect-test-1.
* gnu/packages/crates-io.scm (rust-expect-test-1): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 258dce93a9..eb8c26a906 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14585,6 +14585,34 @@ blocking data structures.") (description "XML parser library written in C") (license license:expat))) +(define-public rust-expect-test-1 + (package + (name "rust-expect-test") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "expect-test" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cq651b3dcrw94bl03krxnvllr8kqx6vskqal0n8ydrsmdx4f013")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-dissimilar" ,rust-dissimilar-1) + ("rust-once-cell" ,rust-once-cell-1)))) + (home-page + "https://github.com/rust-analyzer/expect-test") + (synopsis + "Minimalistic snapshot testing library") + (description + "This package provides a minimalistic snapshot testing library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-expectest-0.9 (package (name "rust-expectest") |