[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/26: gnu: Add go-github-com-golang-jwt-jwt.
From: |
guix-commits |
Subject: |
01/26: gnu: Add go-github-com-golang-jwt-jwt. |
Date: |
Tue, 7 May 2024 18:24:49 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 223c531ec490e23fc83ba008eb8bffed709c832a
Author: Jesse Eisses <jesse@eisses.email>
AuthorDate: Fri Apr 26 10:01:48 2024 +0200
gnu: Add go-github-com-golang-jwt-jwt.
* gnu/packages/golang-crypto.scm (go-github-com-golang-jwt-jwt-v4): New
variable.
(go-github-com-golang-jwt-jwt-v4): Inherit from
go-github-com-golang-jwt-jwt.
Change-Id: I2382208434859b7a9b9a314930fa8769072964c7
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/golang-crypto.scm | 29 ++++++++++++++++++++++++-----
1 file changed, 24 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 273879b47a..e776eba6ff 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
;;; Copyright © 2023 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
+;;; Copyright © 2024 Jesse Eisses <jesse@eisses.email>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -453,10 +454,10 @@ providing bidirectional mapping values to their names,
plus enum convenience
for values.")
(license license:bsd-3)))
-(define-public go-github-com-golang-jwt-jwt-v4
+(define-public go-github-com-golang-jwt-jwt
(package
- (name "go-github-com-golang-jwt-jwt-v4")
- (version "4.5.0")
+ (name "go-github-com-golang-jwt-jwt")
+ (version "3.2.2")
(source
(origin
(method git-fetch)
@@ -465,11 +466,11 @@ for values.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1m7c9lwlmd0lnn0hyby1rb3f4nwn4xcjgca218frj0hi0krqn8kp"))))
+ (base32 "0hq8wz11g6kddx9ab0icl5h3k4lrivk1ixappnr5db2ng2wjks9c"))))
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/golang-jwt/jwt/v4"))
+ #:import-path "github.com/golang-jwt/jwt"))
(home-page "https://github.com/golang-jwt/jwt")
(synopsis "Go implementation of JSON Web Tokens")
(description
@@ -480,6 +481,24 @@ 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-golang-jwt-jwt-v4
+ (package
+ (inherit go-github-com-golang-jwt-jwt)
+ (name "go-github-com-golang-jwt-jwt-v4")
+ (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"))))
+ (arguments
+ (list
+ #:import-path "github.com/golang-jwt/jwt/v4"))))
+
(define-public go-github-com-golang-jwt-jwt-v5
(package
(inherit go-github-com-golang-jwt-jwt-v4)
- branch master updated (014875b29e -> 2795d0f3e7), guix-commits, 2024/05/07
- 03/26: gnu: Add go-github-com-msteinert-pam., guix-commits, 2024/05/07
- 11/26: gnu: Add go-gopkg-in-irc-v4., guix-commits, 2024/05/07
- 17/26: gnu: Add go-github-com-msteinert-pam-v2., guix-commits, 2024/05/07
- 14/26: gnu: go-github-com-prometheus-client-golang: Update to 1.17.0., guix-commits, 2024/05/07
- 19/26: gnu: tmsu: Enable test suite., guix-commits, 2024/05/07
- 23/26: gnu: go-git-sr-ht-emersion-gqlclient: Move to golang-web., guix-commits, 2024/05/07
- 01/26: gnu: Add go-github-com-golang-jwt-jwt.,
guix-commits <=
- 08/26: gnu: Add go-git-sr-ht-emersion-go-sqlite3-fts5., guix-commits, 2024/05/07
- 06/26: gnu: go-github-com-mattn-go-sqlite3: Update to 1.14.22., guix-commits, 2024/05/07
- 13/26: gnu: go-github-com-prometheus-common: Update to 0.45.0., guix-commits, 2024/05/07
- 10/26: gnu: go-gopkg-in-irc-v3: Enable tests., guix-commits, 2024/05/07
- 16/26: gnu: Add soju., guix-commits, 2024/05/07
- 18/26: gnu: sqls: Use go-1.21., guix-commits, 2024/05/07
- 20/26: gnu: go-github-com-nbrownus-go-metrics-prometheus: Disable tests., guix-commits, 2024/05/07
- 24/26: gnu: go-git-sr-ht-emersion-go-scfg: Move to golang-xyz., guix-commits, 2024/05/07
- 02/26: gnu: Add go-github-com-sherclockholmes-webpush-go., guix-commits, 2024/05/07
- 04/26: gnu: Add go-nhooyr-io-websocket., guix-commits, 2024/05/07