From 7e03f292f568b7131cc557edc0a526ebc1896664 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 23 Dec 2024 10:41:39 +0200 Subject: [PATCH] gnu: rust-crypto-mac-0.10: Update to 0.10.1. * gnu/packages/crates-crypto.scm (rust-crypto-mac-0.10): Update to 0.10.1. [source]: Add snippet to allow for newer versions of dependencies. [arguments]: Don't skip the build. Change-Id: Iaec3640cc4a3d5c33dcd8c27ddd2a96eea0f5e42 --- gnu/packages/crates-crypto.scm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 51c24d3de6..5ad687e133 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -1666,18 +1666,21 @@ (define-public rust-crypto-mac-0.10 (package (inherit rust-crypto-mac-0.11) (name "rust-crypto-mac") - (version "0.10.0") + (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "crypto-mac" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19iyh7h9qaqrv29dhbd31rm6pq023ry78nw7jwr3qjy3l22zsms8")))) + (base32 "06h84hcaksgjzzzc9g9dpmifwx221qzzif6fw8l807khxh471w5z")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-blobby" ,rust-blobby-0.3) ("rust-cipher" ,rust-cipher-0.2) ("rust-generic-array" ,rust-generic-array-0.14)