From 295bfaa481494cd7355fd651aca82b568bbbd1e4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 16:56:11 +0300 Subject: [PATCH] gnu: rust-keccak-0.1: Update to 0.1.4. * gnu/packages/crates-io.scm (rust-keccak-0.1): Update to 0.1.4. [arguments]: Don't skip build. [cargo-inputs]: Add rust-cpufeatures-0.2. [home-page]: Update home-page. [description]: Use a complete sentence. [license]: Update licenses. --- gnu/packages/crates-io.scm | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 04de6f4190..c23fe94a8c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31511,20 +31511,23 @@ debugging.") (define-public rust-keccak-0.1 (package (name "rust-keccak") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "keccak" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19ybbvxrdk9yy65rk7f5ad0hcxszkjwph68yzkj3954lnir1bhk7")))) + (version "0.1.4") + (source (origin + (method url-fetch) + (uri (crate-uri "keccak" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0h7rcvwvf20g4k8cx2brnrqvah6jwzs84w09vrj4743dczc5wvcg")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://crates.io/crates/keccak") + (arguments + `(#:cargo-inputs (("rust-cpufeatures" ,rust-cpufeatures-0.2)))) + (home-page "https://github.com/RustCrypto/sponges/tree/master/keccak") (synopsis "Keccak-f sponge function for Rust") - (description "This package provides a keccak-f sponge function") - (license license:cc0))) + (description + "Pure Rust implementation of the Keccak sponge function including the +keccak-f and keccak-p variants.") + (license (list license:asl2.0 license:expat)))) (define-public rust-kernel32-sys-0.2 (package