From 88be977f834a628726223594cc2261695f467a95 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 17 Dec 2021 23:04:56 +0100 Subject: [PATCH] gnu: Add rust-const-sha1-0.2. * gnu/packages/crates-io.scm (rust-const-sha1-0.2): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1e22722b82..5b1f16b4b3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10859,6 +10859,25 @@ generation.") @code{rust-const-random}.") (license (list license:expat license:asl2.0)))) +(define-public rust-const-sha1-0.2 + (package + (name "rust-const-sha1") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "const-sha1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "179cgi2m3wj5g80j49pggs95xalc6y1ivvbrv4m82alc3r2vcn7v")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/rylev/const-sha1") + (synopsis "sha1 implementation for use in const contexts") + (description + "This package provides a sha1 implementation for use in const contexts.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-constant-time-eq-0.1 (package (name "rust-constant-time-eq")