diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 23:41:56 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:55 +0100 |
commit | f172daeb2dfbaf645a78675bf8e2861cc117ba60 (patch) | |
tree | 094608042c843866f6588ccf9684beccf3e4a388 /gnu/packages/crates-io.scm | |
parent | 305e90161ad0b50f756123edac0b982ba77a154a (diff) |
gnu: Add rust-error-code-2.
* gnu/packages/crates-io.scm (rust-error-code-2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0e9d5fa33a..05ce5e3e37 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12967,6 +12967,30 @@ variables.") `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)))))) +(define-public rust-error-code-2 + (package + (name "rust-error-code") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "error-code" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lmblmk2kr0cy6x3d1y2ywxg3jg6nicf8fahd3l5wb1ddzv9975l")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-str-buf" ,rust-str-buf-1)))) + (home-page "") + (synopsis "Alternative @code{Error} for Rust") + (description + "This package provides a simplified @code{Error} which works in +@code{no_std} environment.") + (license license:boost1.0))) + (define-public rust-escargot-0.5 (package (name "rust-escargot") |