guix-commits
[Top][All Lists]
Advanced

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

225/299: gnu: Add rust-error-chain-0.12.


From: guix-commits
Subject: 225/299: gnu: Add rust-error-chain-0.12.
Date: Thu, 2 Jan 2020 13:19:51 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 2997d267baa70062c92236f593d98d2b718ffc37
Author: John Soo <address@hidden>
Date:   Thu Dec 19 10:07:37 2019 -0800

    gnu: Add rust-error-chain-0.12.
    
    * gnu/packages/crates-io.scm (rust-error-chain-0.12): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d13005a..513745f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2545,6 +2545,32 @@ is configured via an environment variable.")
      "Exposes errno functionality to stable Rust on DragonFlyBSD.")
     (license license:expat)))
 
+(define-public rust-error-chain-0.12
+  (package
+    (name "rust-error-chain")
+    (version "0.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "error-chain" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ndpw1ny2kxqpw6k1shq8k56z4vfpk4xz9zr8ay988k0rffrxd1s"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-backtrace" ,rust-backtrace-0.3))
+       #:cargo-development-inputs
+       (("rust-version-check" ,rust-version-check-0.9))))
+    (home-page "https://github.com/rust-lang-nursery/error-chain";)
+    (synopsis "Yet another error boilerplate library")
+    (description
+     "Yet another error boilerplate library.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-fake-simd-0.1
   (package
     (name "rust-fake-simd")



reply via email to

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