From 4dd42718a3f25e1f7a32031ef227f2705a7234a9 Mon Sep 17 00:00:00 2001 From: Aleksandr Vityazev Date: Mon, 17 Jan 2022 13:23:12 +0000 Subject: [PATCH] gnu: Add rust-error-chain-0.8. * gnu/packages/crates-io.scm (rust-error-chain-0.8): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6ede8700c8..b7bb9f68b5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18940,6 +18940,24 @@ (define-public rust-error-chain-0.10 `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)))))) +(define-public rust-error-chain-0.8 + (package + (inherit rust-error-chain-0.11) + (name "rust-error-chain") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "error-chain" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ijxazr966gjvckl3yrkcziazk3ryrfc466m84p9m2iq314y0c39")))) + (arguments + `(#:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3)))))) + (define-public rust-error-code-2 (package (name "rust-error-code")