guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

25/43: gnu: Add rust-quick-error.


From: guix-commits
Subject: 25/43: gnu: Add rust-quick-error.
Date: Mon, 12 Aug 2019 05:02:14 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit dea7871742b14df3605dcd2199d89f63fa03f6e7
Author: Efraim Flashner <address@hidden>
Date:   Sun Aug 4 13:59:27 2019 +0300

    gnu: Add rust-quick-error.
    
    * gnu/packages/crates-io.scm (rust-quick-error): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b9d9b7..069f70b 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]