guix-commits
[Top][All Lists]
Advanced

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

98/188: gnu: Add rust-derive-error-chain-0.10.


From: guix-commits
Subject: 98/188: gnu: Add rust-derive-error-chain-0.10.
Date: Mon, 12 Oct 2020 02:25:06 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 7eceb60e0c797ae4286ef4d47cf8b54d94b78a15
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Thu Sep 17 14:46:50 2020 +0530

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8ee1198..ce0e041 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5945,6 +5945,29 @@ for arbitrary structs.")
        #:cargo-development-inputs
        (("rust-pretty-assertions" ,rust-pretty-assertions-0.2))))))
 
+(define-public rust-derive-error-chain-0.10
+  (package
+    (name "rust-derive-error-chain")
+    (version "0.10.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "derive-error-chain" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0jnybrpiq5jzx69xq74cwxply36js02z14y9sym8sf2iwsnsk71w"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-quote" ,rust-quote-0.3)
+        ("rust-syn" ,rust-syn-0.14))))
+    (home-page "https://github.com/Arnavion/derive-error-chain";)
+    (synopsis "Macros 1.1 implementation of error-chain")
+    (description "This package provides a Macros 1.1 implementation of
+error-chain.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-derive-more-0.99
   (package
     (name "rust-derive-more")



reply via email to

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