unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73112] Add go-github-com-jzelinskie-whirlpool
       [not found] <d4cd4c0f-5a74-41ee-8b7d-5b289634d8ae.ref@yahoo.com>
@ 2024-09-07 16:06 ` Superfly Johnson via Guix-patches via
  2024-09-07 20:36   ` Tobias Geerinckx-Rice via Guix-patches via
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Superfly Johnson via Guix-patches via @ 2024-09-07 16:06 UTC (permalink / raw)
  To: 73112

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

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

[-- Attachment #2: 0001-Add-go-github-com-jzelinskie-whirlpool.patch --]
[-- Type: text/x-patch, Size: 2307 bytes --]

From f81b0cf21c7eab8a21efdb5a5cddee30eb70cdb7 Mon Sep 17 00:00:00 2001
Message-ID: <f81b0cf21c7eab8a21efdb5a5cddee30eb70cdb7.1725725059.git.superfly.johnson@yahoo.com>
From: Superfly Johnson <superfly.johnson@yahoo.com>
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 <jesse@eisses.email>
 ;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
 ;;; Copyright © 2024 Jean Simard <woshilapin@tuziwo.info>
+;;; Copyright © 2024 Superfly Johnson <superfly.johnson@yahoo.com>
 ;;;
 ;;; 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#73112] Add go-github-com-jzelinskie-whirlpool
  2024-09-07 16:06 ` [bug#73112] Add go-github-com-jzelinskie-whirlpool Superfly Johnson via Guix-patches via
@ 2024-09-07 20:36   ` Tobias Geerinckx-Rice via Guix-patches via
  2024-09-08 10:40   ` Sharlatan Hellseher
  2024-09-16 21:38   ` bug#73112: " Sharlatan Hellseher
  2 siblings, 0 replies; 4+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2024-09-07 20:36 UTC (permalink / raw)
  To: Superfly Johnson, 73112

Hello... Superfly person,

Thanks for the patch!

On 7 September 2024 16:06:47 UTC, Superfly Johnson via Guix-patches via <guix-patches@gnu.org> wrote:
> Unfortunately the go-build-system doens't seem to correctly make available downloaded go libraries?

What do you mean?

> +@@url{http://www.larc.usp.br/~pbarreto/@code{WhirlpoolPage.html,http://www.larc.usp.br/~pbarreto/WhirlpoolPage.html}}.")

Wow.  Did the Guix importer produce this?


Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#73112] Add go-github-com-jzelinskie-whirlpool
  2024-09-07 16:06 ` [bug#73112] Add go-github-com-jzelinskie-whirlpool Superfly Johnson via Guix-patches via
  2024-09-07 20:36   ` Tobias Geerinckx-Rice via Guix-patches via
@ 2024-09-08 10:40   ` Sharlatan Hellseher
  2024-09-16 21:38   ` bug#73112: " Sharlatan Hellseher
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2024-09-08 10:40 UTC (permalink / raw)
  To: 73112

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]


Hi,

I've checked the rclone v1.67.0 which does not provide "vendor" any
longer <https://github.com/rclone/rclone/blob/v1.67.0/go.mod>. The
amount of missing packages is quite high. If you keen to help you may
start to unwind it by a small portion (say 10 patches per issue).

I'm in a process of unbundle all vendored project in ipfs/kubo which may
overlap some of the networking/cryptographic packages required for
rclone and restic update.

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#73112: Add go-github-com-jzelinskie-whirlpool
  2024-09-07 16:06 ` [bug#73112] Add go-github-com-jzelinskie-whirlpool Superfly Johnson via Guix-patches via
  2024-09-07 20:36   ` Tobias Geerinckx-Rice via Guix-patches via
  2024-09-08 10:40   ` Sharlatan Hellseher
@ 2024-09-16 21:38   ` Sharlatan Hellseher
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2024-09-16 21:38 UTC (permalink / raw)
  To: 73112-done

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]


Hi,

Pushed as 20f24779fd4e88c6f74ceae45cb5f7f73cb9791e to master.

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-16 21:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <d4cd4c0f-5a74-41ee-8b7d-5b289634d8ae.ref@yahoo.com>
2024-09-07 16:06 ` [bug#73112] Add go-github-com-jzelinskie-whirlpool Superfly Johnson via Guix-patches via
2024-09-07 20:36   ` Tobias Geerinckx-Rice via Guix-patches via
2024-09-08 10:40   ` Sharlatan Hellseher
2024-09-16 21:38   ` bug#73112: " Sharlatan Hellseher

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).