diff options
author | Zheng junjie <873216071@qq.com> | 2021-06-11 19:44:37 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-13 19:13:47 +0200 |
commit | 2299d57999da64433cc184ffe66ace052325d1bb (patch) | |
tree | 05fb6e78e084d8296a2cdc41b70a18c483d34628 | |
parent | afd4924d6a64c01a1d5138954b9f22c9bd4f4690 (diff) | |
download | guix-2299d57999da64433cc184ffe66ace052325d1bb.tar.gz |
gnu: Add rust-always-assert-0.1.
* gnu/packages/crates-io.scm (rust-always-assert-0.1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 05cca93044..dd1fb11f7b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1730,6 +1730,32 @@ options to use calloc or a mutable global variable for pre-zeroed memory.") be used with the stdlib.") (license license:bsd-3))) +(define-public rust-always-assert-0.1 + (package + (name "rust-always-assert") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "always-assert" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04ad9wbh70nii1ilcd1mxv85yqx18jf9vsmh3ddps886bmi8ixpv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-log" ,rust-log-0.4)))) + (home-page + "https://github.com/matklad/always-assert") + (synopsis + "Recoverable assertions for long-running robust applications") + (description + "This package provides a recoverable assertions for long-running robust +applications.") + (license (list license:expat license:asl2.0)))) + (define-public rust-android-glue-0.2 (package (name "rust-android-glue") |