gnu: Add go-github-com-nats-io-nats-go.

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

Change-Id: Ic2897e20fdcd8d68505f8a96281071fe3de224c9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Benjamin 2024-02-08 21:23:39 +00:00 committed by Sharlatan Hellseher
parent 99c5d31e8b
commit e3146f55e8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -27,7 +27,8 @@ (define-module (gnu packages golang-xyz)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check))
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-crypto))
;;; Commentary:
;;;
@ -144,6 +145,34 @@ (define-public go-github-com-matryer-try
(description "This package provides an idiomatic Go retry module.")
(license license:expat)))
(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-nats-io-nuid
(package
(name "go-github-com-nats-io-nuid")