GNU bug report logs - #76162
[PATCH] gnu: Add go-github-com-jphastings-jwker.

Previous Next

Package: guix-patches;

Reported by: Roman Scherer <roman <at> burningswell.com>

Date: Sun, 9 Feb 2025 18:50:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76162 in the body.
You can then email your comments to 76162 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#76162; Package guix-patches. (Sun, 09 Feb 2025 18:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roman Scherer <roman <at> burningswell.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 09 Feb 2025 18:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Roman Scherer <roman <at> burningswell.com>
To: guix-patches <at> gnu.org
Cc: Roman Scherer <roman <at> burningswell.com>
Subject: [PATCH] gnu: Add go-github-com-jphastings-jwker.
Date: Sun,  9 Feb 2025 19:49:00 +0100
* gnu/packages/golang-crypto.scm (go-github-com-jphastings-jwker): New variable.

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

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 70e40ee400..417a985ae0 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -1234,6 +1234,33 @@ (define-public go-github-com-jcmturner-aescts-v2
 Stealing encryption and decryption methods.")
     (license license:asl2.0)))
 
+(define-public go-github-com-jphastings-jwker
+  (package
+    (name "go-github-com-jphastings-jwker")
+    (version "0.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jphastings/jwker")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0nb487c2cfazxwqghq5a8iz8gyi0hhajc39c260f0n6d3ib1798g"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/jphastings/jwker/cmd/jwker"
+      #:unpack-path "github.com/jphastings/jwker"))
+    (propagated-inputs (list go-github-com-stretchr-testify))
+    (home-page "https://github.com/jphastings/jwker")
+    (synopsis "Command line tool to easily convert keys between the PEM and
+JWK file formats")
+    (description "This package provides a command line tool to convert keys
+between the @acronym{PEM, Privacy-Enhanced Mail} and @acronym{JWK, JSON Web
+Key}file formats.")
+    (license license:expat)))
+
 (define-public go-github-com-jzelinskie-whirlpool
   (package
     (name "go-github-com-jzelinskie-whirlpool")

base-commit: 5f6fdadb4af5a0a94f41c4365a3c73e31fed01af
-- 
2.48.1





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Fri, 14 Feb 2025 14:05:02 GMT) Full text and rfc822 format available.

Notification sent to Roman Scherer <roman <at> burningswell.com>:
bug acknowledged by developer. (Fri, 14 Feb 2025 14:05:02 GMT) Full text and rfc822 format available.

Message #10 received at 76162-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 76162-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add go-github-com-jphastings-jwker.
Date: Fri, 14 Feb 2025 14:04:49 +0000
[Message part 1 (text/plain, inline)]
Hi

Thank you for the patch.

I've adjusted it to build library and executable in 2 separate packages.

--8<---------------cut here---------------start------------->8---
modified   gnu/packages/golang-crypto.scm
@@ -1275,15 +1275,15 @@ (define-public go-github-com-jphastings-jwker
     (build-system go-build-system)
     (arguments
      (list
-      #:import-path "github.com/jphastings/jwker/cmd/jwker"
-      #:unpack-path "github.com/jphastings/jwker"))
-    (propagated-inputs (list go-github-com-stretchr-testify))
+      #:import-path "github.com/jphastings/jwker"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
     (home-page "https://github.com/jphastings/jwker")
-    (synopsis "Command line tool to easily convert keys between the PEM and
-JWK file formats")
-    (description "This package provides a command line tool to convert keys
-between the @acronym{PEM, Privacy-Enhanced Mail} and @acronym{JWK, JSON Web
-Key}file formats.")
+    (synopsis "PEM -> JWK conversion tool")
+    (description
+     "This package implements a functionality to convert keys between the
+@acronym{PEM, Privacy-Enhanced Mail} and @acronym{JWK, JSON Web Key} file
+formats.")
     (license license:expat)))
 
 (define-public go-github-com-jzelinskie-whirlpool
@@ -2592,6 +2592,19 @@ (define-public age-keygen
        #:unpack-path "filippo.io/age"
        #:install-source? #f))))
 
+(define-public go-jwker
+  (package/inherit go-github-com-jphastings-jwker
+    (name "go-jwker")
+    (arguments
+     (list
+      #:tests? #f
+      #:install-source? #f
+      #:build-flags
+      #~(list (string-append "-ldflags=-X main.version="
+                             #$(package-version this-package)))
+      #:unpack-path "github.com/jphastings/jwker"
+      #:import-path "github.com/jphastings/jwker/cmd/jwker"))))
+
 (define-public go-keyring
   (package
     (inherit go-github-com-99designs-keyring)
--8<---------------cut here---------------end--------------->8---

Pushed to master as 5c9572a5e60d7e91ba5b182b1a80fc9ce42846a7.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#76162; Package guix-patches. (Fri, 14 Feb 2025 14:32:01 GMT) Full text and rfc822 format available.

Message #13 received at 76162 <at> debbugs.gnu.org (full text, mbox):

From: Roman Scherer <roman <at> burningswell.com>
To: help-debbugs <at> gnu.org (GNU bug Tracking System)
Cc: Roman Scherer <roman <at> burningswell.com>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>, 76162 <at> debbugs.gnu.org
Subject: Re: bug#76162: closed ([PATCH] gnu: Add
 go-github-com-jphastings-jwker.)
Date: Fri, 14 Feb 2025 15:31:06 +0100
[Message part 1 (text/plain, inline)]
References: <8734ggtyf2.fsf <at> gmail.com>
	<662b06e29f0500bb8c207e930daffbfb84d3552f.1739126926.git.roman <at> burningswell.com>
	<handler.76162.D76162.173954190112292.notifdone <at> debbugs.gnu.org>
User-Agent: mu4e 1.12.8; emacs 29.4
Thank you Oleg!

Date: Fri, 14 Feb 2025 15:31:06 +0100

help-debbugs <at> gnu.org (GNU bug Tracking System) writes:

> Your bug report
>
> #76162: [PATCH] gnu: Add go-github-com-jphastings-jwker.
>
> 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 76162 <at> debbugs.gnu.org.
>
> --
> 76162: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76162
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
> From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
> Subject: [PATCH] gnu: Add go-github-com-jphastings-jwker.
> To: 76162-done <at> debbugs.gnu.org
> Date: Fri, 14 Feb 2025 14:04:49 +0000 (25 minutes, 54 seconds ago)
>
>
> Hi
>
> Thank you for the patch.
>
> I've adjusted it to build library and executable in 2 separate packages.
>
> --8<---------------cut here---------------start------------->8---
> modified   gnu/packages/golang-crypto.scm
> @@ -1275,15 +1275,15 @@ (define-public go-github-com-jphastings-jwker
>      (build-system go-build-system)
>      (arguments
>       (list
> -      #:import-path "github.com/jphastings/jwker/cmd/jwker"
> -      #:unpack-path "github.com/jphastings/jwker"))
> -    (propagated-inputs (list go-github-com-stretchr-testify))
> +      #:import-path "github.com/jphastings/jwker"))
> +    (native-inputs
> +     (list go-github-com-stretchr-testify))
>      (home-page "https://github.com/jphastings/jwker")
> -    (synopsis "Command line tool to easily convert keys between the PEM and
> -JWK file formats")
> -    (description "This package provides a command line tool to convert keys
> -between the @acronym{PEM, Privacy-Enhanced Mail} and @acronym{JWK, JSON Web
> -Key}file formats.")
> +    (synopsis "PEM -> JWK conversion tool")
> +    (description
> +     "This package implements a functionality to convert keys between the
> +@acronym{PEM, Privacy-Enhanced Mail} and @acronym{JWK, JSON Web Key} file
> +formats.")
>      (license license:expat)))
>
>  (define-public go-github-com-jzelinskie-whirlpool
> @@ -2592,6 +2592,19 @@ (define-public age-keygen
>         #:unpack-path "filippo.io/age"
>         #:install-source? #f))))
>
> +(define-public go-jwker
> +  (package/inherit go-github-com-jphastings-jwker
> +    (name "go-jwker")
> +    (arguments
> +     (list
> +      #:tests? #f
> +      #:install-source? #f
> +      #:build-flags
> +      #~(list (string-append "-ldflags=-X main.version="
> +                             #$(package-version this-package)))
> +      #:unpack-path "github.com/jphastings/jwker"
> +      #:import-path "github.com/jphastings/jwker/cmd/jwker"))))
> +
>  (define-public go-keyring
>    (package
>      (inherit go-github-com-99designs-keyring)
> --8<---------------cut here---------------end--------------->8---
>
> Pushed to master as 5c9572a5e60d7e91ba5b182b1a80fc9ce42846a7.
>
> --
> Oleg
>
> ----------
>
> From: Roman Scherer <roman <at> burningswell.com>
> Subject: [PATCH] gnu: Add go-github-com-jphastings-jwker.
> To: guix-patches <at> gnu.org
> Cc: Roman Scherer <roman <at> burningswell.com>
> Date: Sun,  9 Feb 2025 19:49:00 +0100
> Date: Sun,  9 Feb 2025 19:49:00 +0100 (4 days, 19 hours, 41 minutes ago)
>
> * gnu/packages/golang-crypto.scm (go-github-com-jphastings-jwker): New variable.
>
> Change-Id: Iffc746524f2cd4461ae7f204cb8c82136b63d21d
> ---
>  gnu/packages/golang-crypto.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
> index 70e40ee400..417a985ae0 100644
> --- a/gnu/packages/golang-crypto.scm
> +++ b/gnu/packages/golang-crypto.scm
> @@ -1234,6 +1234,33 @@ (define-public go-github-com-jcmturner-aescts-v2
>  Stealing encryption and decryption methods.")
>      (license license:asl2.0)))
>
> +(define-public go-github-com-jphastings-jwker
> +  (package
> +    (name "go-github-com-jphastings-jwker")
> +    (version "0.2.1")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/jphastings/jwker")
> +             (commit (string-append "v" version))))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0nb487c2cfazxwqghq5a8iz8gyi0hhajc39c260f0n6d3ib1798g"))))
> +    (build-system go-build-system)
> +    (arguments
> +     (list
> +      #:import-path "github.com/jphastings/jwker/cmd/jwker"
> +      #:unpack-path "github.com/jphastings/jwker"))
> +    (propagated-inputs (list go-github-com-stretchr-testify))
> +    (home-page "https://github.com/jphastings/jwker")
> +    (synopsis "Command line tool to easily convert keys between the PEM and
> +JWK file formats")
> +    (description "This package provides a command line tool to convert keys
> +between the @acronym{PEM, Privacy-Enhanced Mail} and @acronym{JWK, JSON Web
> +Key}file formats.")
> +    (license license:expat)))
> +
>  (define-public go-github-com-jzelinskie-whirlpool
>    (package
>      (name "go-github-com-jzelinskie-whirlpool")
>
> base-commit: 5f6fdadb4af5a0a94f41c4365a3c73e31fed01af
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 15 Mar 2025 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 96 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.