From patchwork Sat Nov 16 07:26:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 70440 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5A76527BBE2; Sat, 16 Nov 2024 07:29:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6CD0627BBE9 for ; Sat, 16 Nov 2024 07:29:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCDEw-0004Sp-Aj; Sat, 16 Nov 2024 02:29:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCDEt-0004RO-Kj for guix-patches@gnu.org; Sat, 16 Nov 2024 02:29:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCDEt-0004cI-Cj for guix-patches@gnu.org; Sat, 16 Nov 2024 02:29:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=n+xD8Rph6gdhrViTCghin4OK04pxwvLOtvwtydw4e2U=; b=nYGXauEqHQon/jYiqv16A0GhkhwJ3ceBiXU+RHLX9WYhGclwp2Rrx5qpqNDSV3DNjBsUy5qwe0OZvsXfxmmmv3E7SkaZI8c8FsQK22H+1wu+E4bB/SkFE/H+7ZchXJi81CS1kjN83WtVfsxU/94t62k2hHXoIeYLLfOv/G/WXIC+kZZYDw58AttZHNfLzVIOlDzAUplIKzWNlMwHdSA8EuhOSrULkKHdA8bmNV4qycRpz9/hxqF2LOrcPCwwRC3gn0pQ5flPqjuSbXifyOBW1P/cuSqxnQAxThrk7jy+j+D+vUNmSOpdrdUfZthYptrqbwOOD59TS+m0Rb+Pf+RxGA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCDEt-0002s5-6w for guix-patches@gnu.org; Sat, 16 Nov 2024 02:29:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74355] [PATCH v2 6/7] gnu: Add go-github-com-zeebo-blake3. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Nov 2024 07:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74355 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74355@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 74355-submit@debbugs.gnu.org id=B74355.173174209110959 (code B ref 74355); Sat, 16 Nov 2024 07:29:03 +0000 Received: (at 74355) by debbugs.gnu.org; 16 Nov 2024 07:28:11 +0000 Received: from localhost ([127.0.0.1]:51927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCDE2-0002qf-Lb for submit@debbugs.gnu.org; Sat, 16 Nov 2024 02:28:11 -0500 Received: from mail-lf1-f44.google.com ([209.85.167.44]:41012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCDDx-0002pB-OH for 74355@debbugs.gnu.org; Sat, 16 Nov 2024 02:28:06 -0500 Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-539d9ba5c81so318972e87.0 for <74355@debbugs.gnu.org>; Fri, 15 Nov 2024 23:28:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731742020; x=1732346820; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n+xD8Rph6gdhrViTCghin4OK04pxwvLOtvwtydw4e2U=; b=LwpAd9W2AOa33zR0++WUvrqPlraw0Dd4fX7W+9IuihZkONaQZNMV49jIWpqcHsB2fo tVDsC1wzwaGVcXGb4imhZuG52uuQbVy2ZlekmWpDaYOjCeFBrXC1U6y0leXrWh6Apb5j +xlkdhM6kCAh3ue5oPsfeL5PXdZBqECdBTGTb1XG7weY286JZ4ttFDjCgwiCcV1lfq2V fAfDjS7V67aJ31iGDX0ut9tdVzoa5cbbiwbGE9eg1pSLZN3R5L9naeCFz7zhI0j58siT IpxSdLF0IEWckMNvHbMcwrfcn0ffJdVH1gtHxEgnx2W/XWCmaugOLHdjVvXrvcSpNZUw n85A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731742020; x=1732346820; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n+xD8Rph6gdhrViTCghin4OK04pxwvLOtvwtydw4e2U=; b=GiD0AlZi2wW53AiWNeD1gvcSVYX+VMAwPcDF0exnsk0DjPc8CSZlMzMEjTqLAfp7X7 VJtI4lKhUPr5yWSYDxbiobl7qLw4iE/ZZ3oh+uFVi+Qujr/JRZ1xC/uhiWAW9vq1Zb8/ 6pKw0nE3qXz/gTeS7BItXd2DGWxKVT3BixZtcawC1ZKPL1BrB9Dam7nW4yyuxW4JXiAZ DSr3e07UEZ/pzUZDa2aV30hW4+W2aLdF5pla0xgJ475AlevXqH5aZx9gJd3K/1/VCqMf zZGXXydxFCiI16YMQtDzGluxv04t8TGOiDiYmmbxdxhRidbrp6Wm4LRt9eGarQF0XGzc lYWw== X-Gm-Message-State: AOJu0YyjVrsd4E9H9raNO39xEuUMjgBVmFmUfY/CiDQs8mmMAHbmi4wK XvC0uK6UNpc3yceuhKu2muaCoLc9W0YhTE4vAK72YGEoDZLzhz+FHam3RWidqTY= X-Google-Smtp-Source: AGHT+IFyD7F0owW3QQr1R6XrI722OGYfgEOi/G9NHXoemXu3c1dXboSp1pLZL5fPiqSxwajTyjGwqA== X-Received: by 2002:a05:6512:3da6:b0:52f:10b:666c with SMTP id 2adb3069b0e04-53dab29f468mr689559e87.5.1731742019493; Fri, 15 Nov 2024 23:26:59 -0800 (PST) Received: from elephant.. ([5.164.195.48]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53da653e1c6sm830904e87.217.2024.11.15.23.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2024 23:26:58 -0800 (PST) From: "Artyom V. Poptsov" Date: Sat, 16 Nov 2024 10:26:33 +0300 Message-ID: <85e4366a8c7d45cdec68f147b9cedbb91d9f492f.1731741895.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <259514ca31c56e4152c7f7c99d75b6755523381e.1731741895.git.poptsov.artyom@gmail.com> References: <259514ca31c56e4152c7f7c99d75b6755523381e.1731741895.git.poptsov.artyom@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-crypto.scm (go-github-com-zeebo-blake3): New variable. Change-Id: I23bc863fb1731b520aeca8e9088a98c6fcfcf62d --- gnu/packages/golang-crypto.scm | 38 ++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index d5915bc64d..0f0e32b82a 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -1727,6 +1727,35 @@ (define-public go-github-com-youmark-pkcs8 PKCS#5 (v2.0) algorithms.") (license license:expat))) +(define-public go-github-com-zeebo-blake3 + (package + (name "go-github-com-zeebo-blake3") + (version "0.2.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zeebo/blake3") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "117p973ccgalaqg7byj0qcd1xapysplql9np1sr9jkca500khcgf")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/zeebo/blake3")) + (propagated-inputs + (list go-github-com-klauspost-cpuid-v2 + go-github-com-zeebo-assert + go-github-com-zeebo-pcg)) + (home-page "https://github.com/zeebo/blake3") + (synopsis "Pure Go implementation of BLAKE3") + (description + "@code{blake3} is a pure Go implementation of +@url{https://en.wikipedia.org/wiki/BLAKE_(hash_function)#BLAKE3, BLAKE3} with AVX2 +and SSE4.1 acceleration.") + (license license:cc0))) + (define-public go-github-com-zeebo-pcg (package (name "go-github-com-zeebo-pcg") @@ -1774,10 +1803,11 @@ (define-public go-lukechampine-com-blake3 (list go-github-com-klauspost-cpuid)) (home-page "https://pkg.go.dev/lukechampine.com/blake3") (synopsis "Implementation of the BLAKE3 cryptographic hash function") - (description "@code{blake3} implements the BLAKE3 cryptographic hash -function. In addition to the pure-Go implementation, this package also -contains AVX-512 and AVX2 routines (generated by avo) that greatly increase -performance for large inputs and outputs.") + (description + "@code{blake3} implements the BLAKE3 cryptographic hash function. In addition +to the pure-Go implementation, this package also contains AVX-512 and AVX2 +routines (generated by avo) that greatly increase performance for large inputs and +outputs.") (license license:expat))) (define-public go-torproject-org-pluggable-transports-goptlib