guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/32: gnu: Add go-github-com-golang-jwt-jwt-v5.


From: guix-commits
Subject: 14/32: gnu: Add go-github-com-golang-jwt-jwt-v5.
Date: Mon, 19 Feb 2024 18:40:57 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 773d469a0eaa783d584fc9d2060df386fdc7aad8
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Feb 19 23:15:43 2024 +0000

    gnu: Add go-github-com-golang-jwt-jwt-v5.
    
    * gnu/packages/golang-crypto.scm (go-github-com-golang-jwt-jwt-v5): New 
variable.
    
    Change-Id: Ic4dae5e59495c5316586034c5ddbd5bcb70cdf95
---
 gnu/packages/golang-crypto.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index e7dc939c6f..53ae308219 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -454,6 +454,25 @@ 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-v5
+  (package
+    (inherit go-github-com-golang-jwt-jwt-v4)
+    (name "go-github-com-golang-jwt-jwt-v5")
+    (version "5.2.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 "0px12zhdmzqjj5zlcr136rcsilpmi4chiz6arxv49q372j4nhmia"))))
+    (arguments
+     (list
+      #:go go-1.18
+      #:import-path "github.com/golang-jwt/jwt/v5"))))
+
 (define-public go-github-com-gxed-hashland-keccakpg
   (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8")
         (revision "0"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]