GNU bug report logs - #69110
[PATCH] gnu: Add go-github-com-golang-jwt-jwt.

Previous Next

Package: guix-patches;

Reported by: Troy Figiel <troy <at> troyfigiel.com>

Date: Tue, 13 Feb 2024 22:43:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#69110: closed ([PATCH] gnu: Add go-github-com-golang-jwt-jwt.)
Date: Tue, 20 Feb 2024 00:03:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 20 Feb 2024 00:01:14 +0000
with message-id <87le7ghulx.fsf <at> gmail.com>
and subject line [PATCH] gnu: Add go-github-com-golang-jwt-jwt.
has caused the debbugs.gnu.org bug report #69110,
regarding [PATCH] gnu: Add go-github-com-golang-jwt-jwt.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
69110: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69110
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Troy Figiel <troy <at> troyfigiel.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add go-github-com-golang-jwt-jwt.
Date: Tue, 13 Feb 2024 23:37:58 +0100
* gnu/packages/golang-crypto.scm (go-github-com-golang-jwt-jwt): New variable.
---
 gnu/packages/golang-crypto.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 0dd43e0e03..4581f26c02 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2023 Clément Lassieur <clement <at> lassieur.org>
 ;;; Copyright © 2023 Felix Lechner <felix.lechner <at> lease-up.com>
 ;;; Copyright © 2023 Jack Hill <jackhill <at> jackhill.us>
+;;; Copyright © 2024 Troy Figiel <troy <at> troyfigiel.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -426,6 +427,33 @@ (define-public go-github-com-gaukas-godicttls
 for values.")
     (license license:bsd-3)))
 
+(define-public go-github-com-golang-jwt-jwt
+  (package
+    (name "go-github-com-golang-jwt-jwt")
+    (version "4.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/golang-jwt/jwt")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1m7c9lwlmd0lnn0hyby1rb3f4nwn4xcjgca218frj0hi0krqn8kp"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/golang-jwt/jwt"))
+    (home-page "https://github.com/golang-jwt/jwt")
+    (synopsis "Go implementation of JSON Web Tokens")
+    (description
+     "This package provides a Go implementation of
+@url{https://datatracker.ietf.org/doc/html/rfc7519, JSON Web Tokens} and
+supports the parsing and verification as well as the generation and signing of
+JSON Web Tokens.  The currently supported signing algorithms are HMAC SHA,
+RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.")
+    (license license:expat)))
+
 (define-public go-github-com-gxed-hashland-keccakpg
   (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
         (revision "0"))

base-commit: ac470c516e19f194228edf9e348bdbc7fc10f97a
-- 
2.42.0



[Message part 3 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 69110-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add go-github-com-golang-jwt-jwt.
Date: Tue, 20 Feb 2024 00:01:14 +0000
[Message part 4 (text/plain, inline)]
Hi,

I've adjusted package name and import path to follow go.mod
<https://github.com/golang-jwt/jwt/blob/v4.5.0/go.mod> and added v5
inherited from v4.

- name :: go-github-com-golang-jwt-jwt-v4
- import-path :: github.com/golang-jwt/jwt/v4

v4 pushed as 971b7b01c145535ea3da3cbe16622160e360140d,
v5 pusehd as 773d469a0eaa783d584fc9d2060df386fdc7aad8 to master.

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

This bug report was last modified 1 year and 150 days ago.

Previous Next


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