From fbc4fd903653558969bf250ea90ddb8f874b5588 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:22:30 -0800 Subject: [PATCH 42/69] gnu: Add rust-blake2-rfc-0.2. * gnu/packages/crates-io.scm (rust-blake2-rfc-0.2): 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 e75309c0d8..5052263a72 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -677,6 +677,36 @@ behave like a set of bitflags.") (license (list license:asl2.0 license:expat)))) +(define-public rust-blake2-rfc-0.2 + (package + (name "rust-blake2-rfc") + (version "0.2.18") + (source + (origin + (method url-fetch) + (uri (crate-uri "blake2-rfc" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0034g47hyq2bzmk40895ill1mbnpmmjakdq3dmm9clidvl5m6vax")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrayvec" ,rust-arrayvec-0.4) + ("rust-clippy" ,rust-clippy-0.0) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)) + #:cargo-development-inputs + (("rust-data-encoding" ,rust-data-encoding-2.1)))) + (home-page + "https://github.com/cesarb/blake2-rfc") + (synopsis + "Rust implementation of BLAKE2 based on RFC 7693") + (description + "This package provides a pure Rust implementation of BLAKE2 based on RFC +7693.") + (license `(,license:asl2.0 ,license:expat)))) + (define-public rust-blas-sys-0.7 (package (name "rust-blas-sys") -- 2.25.0