guix-commits
[Top][All Lists]
Advanced

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

06/11: gnu: Add go-github-com-nats-io-jwt-v2.


From: guix-commits
Subject: 06/11: gnu: Add go-github-com-nats-io-jwt-v2.
Date: Thu, 8 Feb 2024 16:48:10 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 99c5d31e8b131c150d66d0c338d3ae3ba2d9e022
Author: Benjamin <benjamin@uvy.fr>
AuthorDate: Thu Feb 8 21:18:07 2024 +0000

    gnu: Add go-github-com-nats-io-jwt-v2.
    
    * gnu/packages/golang-crypto.scm (go-github-com-nats-io-jwt-v2): New 
variable.
    
    Change-Id: I5253db9ceb1aa118cfc15e89823903f3f5b2b75c
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/golang-crypto.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 5f7af74deb..e94a32a78f 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -581,6 +581,31 @@ library's internal ChaCha20 package.")
 the Go standard library's TLS 1.3 implementation.")
     (license license:bsd-3)))
 
+(define-public go-github-com-nats-io-jwt-v2
+  (package
+    (name "go-github-com-nats-io-jwt-v2")
+    (version "2.5.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nats-io/jwt";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0wcqbfyd3b4qdspmf72cpsbi0y2a4b1qd0cv3qvhh17d1h1a6zib"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/nats-io/jwt/v2"
+           #:unpack-path "github.com/nats-io/jwt"))
+    (propagated-inputs (list go-github-com-nats-io-nkeys))
+    (home-page "https://github.com/nats-io/jwt";)
+    (synopsis "Go library signing JWT tokens with NKeys for the NATS 
ecosystem")
+    (description
+     "This library is a JWT implementation that uses nkeys to digitally sign
+JWT tokens.  Nkeys use Ed25519 to provide authentication of JWT claims.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-nats-io-nkeys
   (package
     (name "go-github-com-nats-io-nkeys")



reply via email to

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