summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-20 21:04:50 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:36 +0200
commitfdcfe7e89f1326a6cffcb84f9dc7706d544496e8 (patch)
treee76d4664d68a063a7d671316817e85880e273c54 /gnu/packages/crates-io.scm
parentc719da121f9edf0469440c968acd6ef14861b927 (diff)
gnu: Add rust-tryfn-0.2.
* gnu/packages/crates-io.scm (rust-tryfn-0.2): New variable. Change-Id: I0f53eeb0a504f3527c04a54f5bcb47f41621d35a
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ba7ac372d9..e998a462bc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -88539,6 +88539,28 @@ etc. distance calculations and string search.")
(sha256
(base32 "0v795l496crk3h6yff9zh1cjyrh5s9v23fbgccc4dpz25z70jav2"))))))
+(define-public rust-tryfn-0.2
+ (package
+ (name "rust-tryfn")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tryfn" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15n34ga7a1qyhfz45kph0yqx2gjlx10cb9bkmg4wwsk4kvp45qjz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-ignore" ,rust-ignore-0.4)
+ ("rust-libtest-mimic" ,rust-libtest-mimic-0.7)
+ ("rust-snapbox" ,rust-snapbox-0.6))))
+ (home-page "https://github.com/assert-rs/trycmd")
+ (synopsis "File-driven snapshot testing for a function")
+ (description
+ "This package provides file-driven snapshot testing for a function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-try-lock-0.2
(package
(name "rust-try-lock")