Subject: [bug#67263] [PATCH 7/8] gnu: Add go-github-com-nats-io-nats-go.

From: Benjamin <[email-masked]>
Date: Sat, 18 Nov 2023 19:17:34 +0100

* gnu/packages/golang.scm (go-github-com-nats-io-nats-go): New variable.

Change-Id: Ic2897e20fdcd8d68505f8a96281071fe3de224c9
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 17ec5296bf..2ec9938a98 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3364,6 +3364,32 @@ (define-public go-github-com-nats-io-jwt-v2
 JWT tokens. Nkeys use Ed25519 to provide authentication of JWT claims.")
     (license license:asl2.0)))
 
+(define-public go-github-com-nats-io-nats-go
+  (package
+    (name "go-github-com-nats-io-nats-go")
+    (version "1.31.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nats-io/nats.go")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0jqzqjwpp3p4fwpv2qcwskysnvgggp22p60zg3w25d3xsainjpbi"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:go go-1.20 #:import-path "github.com/nats-io/nats.go"))
+    (propagated-inputs (list go-golang-org-x-text
+                         go-github-com-nats-io-nuid
+                         go-github-com-nats-io-nkeys
+                         go-github-com-klauspost-compress))
+    (home-page "https://github.com/nats-io/nats.go")
+    (synopsis "Go Client for NATS server")
+    (description
+     "This package provides a Go client for the NATS messaging system.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-aws-sdk
   (package
     (name "go-github-com-aws-sdk")
-- 
2.41.0