summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-11 13:02:00 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-11 15:39:18 +0000
commit7d00ffc8fc3bbe8d83cf370587fc6f623c37bcb4 (patch)
tree8fb2c973eb61476414f2204f88a1e0d5eddc41ec /gnu
parent01da92eef3bc43553674fdb83750fc19e4735cea (diff)
gnu: Add rust-snafu-derive-0.6.
* gnu/packages/crates-io.scm (rust-snafu-derive-0.6): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 40fd4e3107..a9363f8c2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49183,6 +49183,29 @@ control on the fields.")
clone.")
(license (list license:expat license:asl2.0))))
+(define-public rust-snafu-derive-0.6
+ (package
+ (name "rust-snafu-derive")
+ (version "0.6.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "snafu-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0nri7ma06g5kimpcdcm8359a55nmps5f3kcngy0j6bin7jhfy20m"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/shepmaster/snafu")
+ (synopsis "Ergonomic error handling library")
+ (description "Snafu aims to be an ergonomic error handling library. This
+package provides derive macros.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-snailquote-0.3
(package
(name "rust-snailquote")