aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-04 13:59:27 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-12 11:57:28 +0300
commitdea7871742b14df3605dcd2199d89f63fa03f6e7 (patch)
tree8b5ae79c8594497d56d53ea9ed09e87856cd1025 /gnu
parent3bb3a9a02148ef960d40e147819038b0b7c192e3 (diff)
downloadpatches-dea7871742b14df3605dcd2199d89f63fa03f6e7.tar
patches-dea7871742b14df3605dcd2199d89f63fa03f6e7.tar.gz
gnu: Add rust-quick-error.
* gnu/packages/crates-io.scm (rust-quick-error): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b9d9b7593..069f70bd39 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -516,6 +516,26 @@ in terms of the upstream unstable API.")
;; Dual licensed.
(license (list license:asl2.0 license:expat))))
+(define-public rust-quick-error
+ (package
+ (name "rust-quick-error")
+ (version "1.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quick-error" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
+ (build-system cargo-build-system)
+ (home-page "http://github.com/tailhook/quick-error")
+ (synopsis "Macro which makes error types pleasant to write")
+ (description "This crate provides a macro which makes error types pleasant
+to write.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-quote
(package
(name "rust-quote")