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

Previous Next

Package: guix-patches;

Reported by: arthurhdrodrigues <at> proton.me

Date: Mon, 12 May 2025 15:13: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: arthurhdrodrigues <at> proton.me
To: 78393 <at> debbugs.gnu.org
Subject: [bug#78393] [PATCH] gnu: Add go-github-com-jwt
Date: Mon, 12 May 2025 15:12:38 +0000
Hi guix, first time contributor here :)

This patch adds go-github-com-jwt, a Golang library to handle JSON Web Tokens.

I plan to package [act](https://github.com/nektos/act) and thought it would be
better to submit one of its dependencies and gather some feedback before submitting
a patch series for the rest of them and for the software itself.

Thank you for any feedback.


---
 gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 21d2b05abc..37827ab775 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -8889,6 +8889,32 @@ (define-public go-github-com-juju-ansiterm
 for color and styles.")
     (license license:lgpl3)))
 
+(define-public go-github-com-jwt
+  (package
+    (name "go-github-com-jwt")
+    (version "5.2.2")
+    (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 "0zlx62zdvii8080m22bs4mwi2mb8f475bkaa86fiwndi1c722hqb"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/golang-jwt/jwt"))
+    (home-page "https://golang-jwt.github.io/jwt")
+    (synopsis "Go implementation of JSON Web Tokens")
+    (description
+     "This library provides a Go implementation of JSON Web Tokens (JWT).
+     JWT is an open standard that defines a compact and self-contained
+     way for securely transmitting information between parties as a
+     JSON object.")
+    (license license:expat)))
+
 (define-public go-github-com-k0kubun-go-ansi
   (package
     (name "go-github-com-k0kubun-go-ansi")

base-commit: 300d29e69988caf23684f08effa51f621c7ec083
-- 
2.49.0




This bug report was last modified 6 days ago.

Previous Next


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