[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/11: gnu: Add nats-server.
From: |
guix-commits |
Subject: |
08/11: gnu: Add nats-server. |
Date: |
Thu, 8 Feb 2024 16:48:10 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 2d084f23a259b17ba6a1d05bc39c6f1c7c23a330
Author: Benjamin <benjamin@uvy.fr>
AuthorDate: Sat Nov 18 19:17:35 2023 +0100
gnu: Add nats-server.
* gnu/packages/messaging.scm (nats-server): New variable.
Change-Id: Idb05684fae798b37d396279f136f11fce85e2e02
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/high-availability.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/high-availability.scm
b/gnu/packages/high-availability.scm
index eccdb3594e..06cf58a43a 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2023 Benjamin <benjamin@uvy.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,7 +36,9 @@
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-web)
+ #:use-module (gnu packages golang-xyz)
#:use-module (gnu packages hardware)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
@@ -194,6 +197,47 @@ applications.")
in general better performances compared to the old network protocol.")
(license (list license:gpl2+ license:lgpl2.1+))))
+(define-public nats-server
+ (package
+ (name "nats-server")
+ (version "2.10.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nats-io/nats-server")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07dcn6him4r1chsqr9p4i7fnbfw60gq29f4zmlyljf2c47i58rf9"))))
+ (build-system go-build-system)
+ (inputs
+ (list go-github-com-klauspost-compress
+ go-github-com-minio-highwayhash
+ go-github-com-nats-io-jwt-v2
+ go-github-com-nats-io-nats-go
+ go-github-com-nats-io-nkeys
+ go-github-com-nats-io-nuid
+ go-go-uber-org-automaxprocs
+ go-golang-org-x-crypto
+ go-golang-org-x-sys
+ go-golang-org-x-time))
+ (arguments
+ (list
+ #:go go-1.20
+ #:import-path "github.com/nats-io/nats-server"
+ #:install-source? #f))
+ (home-page "https://github.com/nats-io/nats-server")
+ (synopsis "High performance message broker")
+ (description
+ "NATS is a simple, secure and performant communications system for digital
+systems, services and devices. NATS is part of the Cloud Native Computing
+Foundation (CNCF). NATS has over 40 client language implementations, and its
+server can run on-premise, in the cloud, at the edge, and even on a Raspberry
+Pi. NATS can secure and simplify design and operation of modern distributed
+systems.")
+ (license license:asl2.0)))
+
(define-public nsq
(package
(name "nsq")
- branch master updated (8798f940ad -> 90fe823638), guix-commits, 2024/02/08
- 01/11: gnu: Add go-github-com-minio-highwayhash., guix-commits, 2024/02/08
- 03/11: gnu: Add go-go-uber-org-automaxprocs., guix-commits, 2024/02/08
- 04/11: gnu: Add go-github-com-nats-io-nuid., guix-commits, 2024/02/08
- 02/11: gnu: Add go-github-com-prashantv-gostub., guix-commits, 2024/02/08
- 06/11: gnu: Add go-github-com-nats-io-jwt-v2., guix-commits, 2024/02/08
- 11/11: gnu: nats-server: Update to 2.10.10., guix-commits, 2024/02/08
- 07/11: gnu: Add go-github-com-nats-io-nats-go., guix-commits, 2024/02/08
- 05/11: gnu: Add go-github-com-nats-io-nkeys., guix-commits, 2024/02/08
- 08/11: gnu: Add nats-server.,
guix-commits <=
- 10/11: gnu: go-github-com-nats-io-nats-go: Update to 1.32.0., guix-commits, 2024/02/08
- 09/11: gnu: go-github-com-nats-io-nkeys: Update to 0.4.7., guix-commits, 2024/02/08