gnu: Add rust-zeroize-1.

* gnu/packages/crates-io.scm (rust-zeroize-1): New variable.
This commit is contained in:
Nicolas Goaziou 2020-07-13 12:30:53 +02:00
parent 83683001af
commit 1cc3a0451e
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -30015,6 +30015,32 @@ (define-public rust-zbase32-0.1
(description "This package provides an implementation of zbase32.") (description "This package provides an implementation of zbase32.")
(license license:lgpl3+))) (license license:lgpl3+)))
(define-public rust-zeroize-1
(package
(name "rust-zeroize")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "zeroize" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1f5547q8l8bpi16yy6lix2gl9rf1qz45lj06bq7wjk525gnw5fiw"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;2 doc tests fail
#:cargo-inputs
(("rust-zeroize-derive" ,rust-zeroize-derive-1))))
(home-page "https://github.com/iqlusioninc/crates/")
(synopsis "Securely clear secrets from memory")
(description
"Zeroize securely clears secrets from memory with a simple trait built on
stable Rust primitives, which guarantee memory is zeroed using an operation
will not be ``optimized away'' by the compiler. It uses a portable pure Rust
implementation that works everywhere, even WASM!")
(license (list license:asl2.0 license:expat))))
(define-public rust-zeroize-derive-1 (define-public rust-zeroize-derive-1
(package (package
(name "rust-zeroize-derive") (name "rust-zeroize-derive")