diff mbox series

[bug#67263,5/8] gnu: Add go-github-com-nats-io-nkeys.

Message ID 51662c100b361821e6738e2b985ea9153b6986b6.1700330009.git.benjamin@uvy.fr
State New
Headers show
Series adding nats-server package | expand

Commit Message

Benjamin Nov. 18, 2023, 6:17 p.m. UTC
* gnu/packages/golang.scm (go-github-com-nats-io-nkeys): New variable.

Change-Id: Id82a9afd15f110426fd7a16b286b5af5cae45c6a
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 74c3da8ba4..d52ec94059 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3315,6 +3315,30 @@  (define-public go-github-com-nats-io-nuid
 very fast, and tries to be entropy pool friendly.")
     (license license:asl2.0)))
 
+(define-public go-github-com-nats-io-nkeys
+  (package
+    (name "go-github-com-nats-io-nkeys")
+    (version "0.4.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nats-io/nkeys")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0l9ssz8bm9gqr07x5hif9r5b1mb324x61x4kkvgzvcqfm7wzh22a"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/nats-io/nkeys"))
+    (propagated-inputs (list go-golang-org-x-crypto))
+    (home-page "https://github.com/nats-io/nkeys")
+    (synopsis "Go library implementing public-key system for NATS ecosystem")
+    (description
+     "This package is an Ed25519 based public-key signature system that simplifies
+keys and seeds and performs signing and verification.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-aws-sdk
   (package
     (name "go-github-com-aws-sdk")