diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-14 19:50:45 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:35 +0200 |
commit | 4eea286c28179dc48de26860b121c3537ec96829 (patch) | |
tree | c55115d6dfadc19059b6bb6e87dfd500bf68aa11 | |
parent | 688ac26a850c8b048438b1d63332e2810d68136e (diff) | |
download | guix-4eea286c28179dc48de26860b121c3537ec96829.tar.gz |
gnu: Add rust-failure-0.1.
* gnu/packages/crates-io.scm (rust-failure-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 455504ea4a..a11b418f96 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1933,6 +1933,31 @@ is configured via an environment variable.") "Type-erased Serialize and Serializer traits.") (license (list license:asl2.0 license:expat)))) +(define-public rust-failure-0.1 + (package + (name "rust-failure") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "failure" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qppmgv4i5jj6vrss91qackqnl0a12h7lnby4l7j5fdy78yxhnvr")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-failure-derive" ,rust-failure-derive-0.1)))) + (home-page "https://rust-lang-nursery.github.io/failure/") + (synopsis "Experimental error handling abstraction") + (description + "Experimental error handling abstraction.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-failure-derive-0.1 (package (name "rust-failure-derive") |