aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-11 13:04:02 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-11 15:39:18 +0000
commit33802ba09e7b187d6e6b7ba87e37ea3807cc899a (patch)
treef29e31c15335c8ed2db0025737c1593690469456 /gnu
parent0e5127c0aa934c9e90b09ca20de6b6dd6f23a942 (diff)
downloadguix-33802ba09e7b187d6e6b7ba87e37ea3807cc899a.tar
guix-33802ba09e7b187d6e6b7ba87e37ea3807cc899a.tar.gz
gnu: Add rust-snafu-0.6.
* gnu/packages/crates-io.scm (rust-snafu-0.6): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0509dddcc1..f9dfdd87ad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49206,6 +49206,32 @@ clone.")
package provides derive macros.")
(license (list license:expat license:asl2.0))))
+(define-public rust-snafu-0.6
+ (package
+ (name "rust-snafu")
+ (version "0.6.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "snafu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19wwqxwb85pl040qk5xylj0vlznib3xzy9hcv2q0h8qv4qy2vcga"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-pin-project" ,rust-pin-project-0.4)
+ ("rust-snafu-derive" ,rust-snafu-derive-0.6))))
+ (home-page "https://github.com/shepmaster/snafu")
+ (synopsis "Ergonomic error handling library")
+ (description "Snafu aims to be an ergonomic error handling library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-snailquote-0.3
(package
(name "rust-snailquote")