diff options
author | Benjamin <benjamin@uvy.fr> | 2024-02-08 21:23:39 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-02-08 21:46:22 +0000 |
commit | e3146f55e8a92347868bbe268c51b2ab5d70df70 (patch) | |
tree | 7a1f3ea6c2ce08a241752ef89705ede1936fb3f3 | |
parent | 99c5d31e8b131c150d66d0c338d3ae3ba2d9e022 (diff) | |
download | guix-e3146f55e8a92347868bbe268c51b2ab5d70df70.tar.gz |
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>
-rw-r--r-- | gnu/packages/golang-xyz.scm | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index bfe9cee5e6..a1390ad093 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -27,7 +27,8 @@ #: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 @@ Differentiation between text and binary files}. (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") |