From eae6a03a5113b6cc48ebef942603609c3eedbdbb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 22 May 2023 17:56:42 +0300 Subject: [PATCH] gnu: Add rust-cmac-0.7. * gnu/packages/crates-io.scm (rust-cmac-0.7): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4230b80cbb..7e782f3097 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12210,6 +12210,36 @@ (define-public rust-cloudflare-zlib-sys-0.3 license:asl2.0 license:zlib)))) +(define-public rust-cmac-0.7 + (package + (name "rust-cmac") + (version "0.7.2") + (source (origin + (method url-fetch) + (uri (crate-uri "cmac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1an1vcala24grlyhvk71ikxk2kmgcbal9kgrzzpjcl9z7i74ahw5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-dbl" ,rust-dbl-0.3) + ("rust-digest" ,rust-digest-0.10)) + #:cargo-development-inputs + (("rust-aes" ,rust-aes-0.8) + ("rust-des" ,rust-des-0.8) + ("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-kuznyechik" ,rust-kuznyechik-0.8) + ("rust-magma" ,rust-magma-0.8)))) + (home-page "https://github.com/RustCrypto/MACs") + (synopsis "Generic implementation of Cipher-based Message Authentication Code") + (description "This package provides a pure Rust implementation of the +Cipher-based Message Authentication Code.") + (license (list license:expat license:asl2.0)))) + (define-public rust-cmake-0.1 (package (name "rust-cmake")