Subject: bug#73112: closed (Add go-github-com-jzelinskie-whirlpool)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 16 Sep 2024 21:40:02 +0000

Your bug report

#73112: Add go-github-com-jzelinskie-whirlpool

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
73112: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73112
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Add go-github-com-jzelinskie-whirlpool
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Mon, 16 Sep 2024 22:38:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Pushed as 20f24779fd4e88c6f74ceae45cb5f7f73cb9791e to master.

--
Oleg

Subject: Add go-github-com-jzelinskie-whirlpool
From: Superfly Johnson <[email-masked]>
To: [email-masked]
Date: Sat, 7 Sep 2024 12:06:47 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

It is a requirement for rclone and I was trying to update rclone to the 
latest version. Unfortunately the go-build-system doens't seem to 
correctly make available downloaded go libraries?

The library implements the whirlpool cryptographic algorithm.

Thank you for your time and consideration
From f81b0cf21c7eab8a21efdb5a5cddee30eb70cdb7 Mon Sep 17 00:00:00 2001
Message-ID: <f81b0cf2[email-masked]>
From: Superfly Johnson <[email-masked]>
Date: Sat, 7 Sep 2024 11:39:57 -0400
Subject: [PATCH] Add go-github-com-jzelinskie-whirlpool

Change-Id: I5a6f5cbbbdfc6c7f1a07f07459d87217a4fd3404
---
 gnu/packages/golang-crypto.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index a9c8b68d4e..2bc2072b31 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2024 Jesse Eisses <[email-masked]>
 ;;; Copyright © 2024 Troy Figiel <[email-masked]>
 ;;; Copyright © 2024 Jean Simard <[email-masked]>
+;;; Copyright © 2024 Superfly Johnson <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -851,6 +852,31 @@ (define-public go-github-com-jcmturner-aescts-v2
 Stealing encryption and decryption methods.")
     (license license:asl2.0)))
 
+(define-public go-github-com-jzelinskie-whirlpool
+  (package
+    (name "go-github-com-jzelinskie-whirlpool")
+    (version "0.0.0-20201016144138-0675e54bb004")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jzelinskie/whirlpool")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0w74h9dz8pkwal3aqymymsq2zgl7d16dw1kxa7dfkad167g3s1mz"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/jzelinskie/whirlpool"))
+    (home-page "https://github.com/jzelinskie/whirlpool")
+    (synopsis "Implements the Whirlpool cryptographic protocol.")
+    (description
+     "Package whirlpool implements the ISO/IEC 10118-3:2004 whirlpool cryptographic
+hash.  Whirlpool is defined in
+@@url{http://www.larc.usp.br/~pbarreto/@code{WhirlpoolPage.html,http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html}}.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-libp2p-go-libp2p-crypto
   (let ((commit "7240b40a3ddc47c4d17c15baabcbe45e5219171b")
         (revision "0"))
-- 
2.45.2