Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Add nats
@ 2022-07-10 17:42 TeddyDD
  2022-07-10 17:43 ` [PR PATCH] [Updated] " TeddyDD
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: TeddyDD @ 2022-07-10 17:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]

There is a new pull request by TeddyDD against master on the void-packages repository

https://github.com/TeddyDD/void-packages-1 add-nats
https://github.com/void-linux/void-packages/pull/37982

Add nats
<!-- Uncomment relevant sections and delete options which are not applicable -->

Added nats-cli and nats-server

#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/37982.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-nats-37982.patch --]
[-- Type: text/x-diff, Size: 2198 bytes --]

From e14e3381612096bd8f36a0bdc17f44ab9d50d95c Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Sun, 10 Jul 2022 14:37:50 +0200
Subject: [PATCH 1/2] New package: nats-0.0.33

---
 srcpkgs/nats/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/nats/template

diff --git a/srcpkgs/nats/template b/srcpkgs/nats/template
new file mode 100644
index 000000000000..4b9f6e044755
--- /dev/null
+++ b/srcpkgs/nats/template
@@ -0,0 +1,22 @@
+# Template file for 'nats'
+pkgname=nats
+version=0.0.33
+revision=1
+wrksrc="natscli-${version}"
+build_style=go
+build_helper=qemu
+go_import_path=github.com/nats-io/natscli/nats
+short_desc="Command line utility to interact with and manage NATS"
+maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
+license="Apache-2.0"
+homepage="https://nats.io/"
+distfiles="https://github.com/nats-io/natscli/archive/refs/tags/v${version}.tar.gz"
+checksum=7aa0d09eeb7a411bcdd6958a2957baec6bcac1faadb7477d5d2adf47c9c5819c
+
+post_install() {
+	for shell in bash zsh
+	do
+		vtargetrun $GOPATH/bin/nats --completion-script-$shell >completion.$shell
+		vcompletion completion.$shell $shell
+	done
+}

From f9de445a15d729258d49f19c2380c4a4d80ce4c2 Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Sun, 10 Jul 2022 14:37:52 +0200
Subject: [PATCH 2/2] New package: nats-server-2.8.4

---
 srcpkgs/nats-server/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/nats-server/template

diff --git a/srcpkgs/nats-server/template b/srcpkgs/nats-server/template
new file mode 100644
index 000000000000..691dc9b0527b
--- /dev/null
+++ b/srcpkgs/nats-server/template
@@ -0,0 +1,12 @@
+# Template file for 'nats-server'
+pkgname=nats-server
+version=2.8.4
+revision=1
+build_style=go
+go_import_path=github.com/nats-io/nats-server/v2
+short_desc="Server for NATS messaging system"
+maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
+license="Apache-2.0"
+homepage="https://nats.io/"
+distfiles="https://github.com/nats-io/nats-server/archive/v${version}.tar.gz"
+checksum=172c5d04c3867adcb6b2322d87d7f7029b63e9465fffffcf99d4ca652820635f

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-01-13  9:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-10 17:42 [PR PATCH] Add nats TeddyDD
2022-07-10 17:43 ` [PR PATCH] [Updated] " TeddyDD
2022-07-10 17:50 ` [PR PATCH] [Updated] New package: nats and nats-server TeddyDD
2022-07-10 19:14 ` TeddyDD
2022-07-10 19:20 ` TeddyDD
2022-09-29 12:32 ` TeddyDD
2022-11-29 17:46 ` TeddyDD
2022-11-29 17:59 ` TeddyDD
2023-01-13  9:35 ` [PR PATCH] [Closed]: " TeddyDD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).