aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-07-06 11:18:30 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-07-06 14:00:21 +0200
commit54e48e37d32ac41cac97279ba4e35adbb70d606c (patch)
treefdf3f2c8ffb95d7467e68a62a2ec9155ff17c74c /gnu/packages
parente4d020d53a2b8927ae5b4942d45a27701f72c4d9 (diff)
downloadguix-54e48e37d32ac41cac97279ba4e35adbb70d606c.tar
guix-54e48e37d32ac41cac97279ba4e35adbb70d606c.tar.gz
gnu: Add rust-snapbox-0.2.
* gnu/packages/crates-io.scm (rust-snapbox-0.2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a42585d2b8..01aaefd7d8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57591,6 +57591,51 @@ 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
+ (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"))))
+ (build-system cargo-build-system)
+ (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))))
+ (home-page "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox")
+ (synopsis "Snapshot testing toolbox")
+ (description
+ "snapbox is a snapshot-testing toolbox that is ready to use for verifying
+output from
+
+@itemize
+@item Function return values
+@item CLI stdout/stderr
+@item Filesystem changes
+@end itemize
+
+It is also flexible enough to build your own test harness like @code{trycmd}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-snappy-cpp-0.1
(package
(name "rust-snappy-cpp")