diff options
author | Joseph LaFreniere <joseph@lafreniere.xyz> | 2020-11-20 08:26:59 -0600 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-12-12 22:58:20 +0200 |
commit | 59eb35fb3d673f6a0351a579c47836a7bb101512 (patch) | |
tree | c9fa56f354c02477e6dd1e00571b357e3c93a6d2 /gnu | |
parent | f431cad053fe5e08027b96b75f1bb2bd53d1fa7d (diff) |
gnu: Add rust-exitfailure-0.5.
* gnu/packages/crates-io.scm (rust-exitfailure-0.5): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 527a847b3f..dc6296e3a7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8551,6 +8551,35 @@ variables.") (("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-exitfailure-0.5 + (package + (name "rust-exitfailure") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "exitfailure" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0585wix3b3pjjj90fkqj9x4ar46d24x82k8rdin3czzk5a1vvx9g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-failure" ,rust-failure-0.1)) + #:cargo-development-inputs + (("rust-assert-cmd" ,rust-assert-cmd-0.9) + ("rust-predicates" ,rust-predicates-0.9)) + ;; Tests fail with "No such file or directory". + #:tests? #f)) + (home-page "https://github.com/tismith/exitfailure") + (synopsis "Provide @code{newtype} wrappers for using @code{?} in @code{main}") + (description + "This package provides a basic @code{newtype} wrappers to help with using +@code{?} in @code{main}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-expat-sys-2.1 (package (name "rust-expat-sys") |