From 576d7d07d8fbf549b03eaa204a1298ebf9b4a0f5 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Sun, 19 Jan 2020 22:26:27 +0300 Subject: [PATCH 137/275] gnu: Add rust-crypto-mac-0.7. * gnu/packages/crates-io.scm (rust-crypto-mac-0.7): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b7c6794c52..a660b08bb8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2565,6 +2565,34 @@ intrinsics.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.4)))))) +(define-public rust-crypto-mac-0.7 + (package + (name "rust-crypto-mac") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-mac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rbrq6qy9dl0pj4ym2zy33miaaa8vpzdss60p9bdb58xy46l0d24")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.12) + ("rust-subtle" ,rust-subtle-1.0)))) + (home-page + "https://github.com/RustCrypto/traits") + (synopsis + "Trait for Message Authentication Code (MAC) algorithms") + (description + "Trait for Message Authentication Code (MAC) algorithms") + (license (list license:expat license:asl2.0)))) + (define-public rust-csv-1.1 (package (name "rust-csv") -- 2.25.0