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>
This commit is contained in:
Zheng junjie 2021-06-11 19:44:37 +08:00 committed by Nicolas Goaziou
parent afd4924d6a
commit 2299d57999
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1730,6 +1730,32 @@ (define-public rust-alloc-stdlib-0.2
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")