[bug#36920,25/43] gnu: Add rust-quick-error.
diff mbox series

Message ID 4498ec5c9db59be28a7207ca2784906e8c34b7f3.1564918220.git.efraim@flashner.co.il
State New
Headers show
Series
  • [bug#36920,01/43] gnu: crates-io.scm: Sort packages alphabetically.
Related show

Commit Message

Efraim Flashner Aug. 4, 2019, 11:33 a.m. UTC
* gnu/packages/crates-io.scm (rust-quick-error): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

Patch
diff mbox series

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")