summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-19 10:07:37 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:53 +0200
commit2997d267baa70062c92236f593d98d2b718ffc37 (patch)
tree74ccabbbfeb53bce2ee7dd645adff53296a136da /gnu
parent386f3e46ad8a5e4fc5fea27d3d2579ed40dc512b (diff)
downloadguix-2997d267baa70062c92236f593d98d2b718ffc37.tar.gz
gnu: Add rust-error-chain-0.12.
* gnu/packages/crates-io.scm (rust-error-chain-0.12): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d13005afba..513745f77f 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")