From: Jesse Eisses via Guix-patches via <guix-patches@gnu.org>
To: 70317@debbugs.gnu.org
Cc: Jesse Eisses <jesse@eisses.email>
Subject: [bug#70317] [PATCH 13/13] gnu: packages: Add soju
Date: Wed, 10 Apr 2024 10:10:08 +0200 [thread overview]
Message-ID: <20240410081012.25854-13-jesse@eisses.email> (raw)
In-Reply-To: <20240410081012.25854-1-jesse@eisses.email>
Change-Id: I8a6e45c560f3735e9a659a6493504580f1376d65
---
gnu/packages/messaging.scm | 81 ++++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 24a9810c43..aa399104a6 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -88,6 +88,7 @@ (define-module (gnu packages messaging)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
+ #:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages gperf)
#:use-module (gnu packages graphviz)
@@ -96,6 +97,7 @@ (define-module (gnu packages messaging)
#:use-module (gnu packages guile)
#:use-module (gnu packages hunspell)
#:use-module (gnu packages icu4c)
+ #:use-module (gnu packages irc)
#:use-module (gnu packages image)
#:use-module (gnu packages kde)
#:use-module (gnu packages kde-frameworks)
@@ -3566,4 +3568,83 @@ (define-public senpai
"@code{senpai} is an IRC client that works best with bouncers.")
(license license:isc)))
+(define-public soju
+ (package
+ (name "soju")
+ (version "0.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~emersion/soju")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a0mp8f5i1ajh67y6fasmzgca3w1ccaiz19sx87rflbyi1mrhdlz"))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "git.sr.ht/~emersion/soju"
+ #:go ,go-1.19
+ #:install-source? #f
+ #:phases (modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion "src/git.sr.ht/~emersion/soju"
+ (setenv "SYSCONFDIR"
+ (string-append (assoc-ref outputs "out")
+ "/etc"))
+ (invoke "make"))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion "src/git.sr.ht/~emersion/soju"
+ (let ((bin-dir (string-append (assoc-ref outputs "out")
+ "/bin"))
+ (conf-dir (string-append (assoc-ref outputs
+ "out")
+ "/etc/soju")))
+ (install-file "soju" bin-dir)
+ (install-file "sojudb" bin-dir)
+ (install-file "sojuctl" bin-dir)
+ ;; the default config file is not useful so we empty it for now
+ (substitute* "config.in" ((".*") ""))
+ (mkdir-p conf-dir)
+ (copy-file "config.in"
+ (string-append conf-dir "/config"))))))
+ (add-before 'build 'set-flags
+ (lambda _
+ (begin
+ (setenv "CGO_LDFLAGS"
+ "-Wl,--unresolved-symbols=ignore-in-object-files") #t))))))
+ (native-inputs `(("scdoc" ,scdoc)))
+ (inputs `(("go-google-golang-org-protobuf" ,go-google-golang-org-protobuf)
+ ("go" ,go-1.19)))
+ (propagated-inputs
+ `(("go-nhooyr-io-websocket" ,go-nhooyr-io-websocket)
+ ("go-gopkg-in-irc-v4" ,go-gopkg-in-irc-v4)
+ ("go-golang-org-x-time" ,go-golang-org-x-time)
+ ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+ ("go-github-com-prometheus-client-golang"
+ ,go-github-com-prometheus-client-golang-v1.17)
+ ("go-github-com-pires-go-proxyproto"
+ ,go-github-com-pires-go-proxyproto)
+ ("go-github-com-msteinert-pam" ,go-github-com-msteinert-pam)
+ ("go-github-com-mattn-go-sqlite3"
+ ,go-github-com-mattn-go-sqlite3)
+ ("go-github-com-lib-pq" ,go-github-com-lib-pq)
+ ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
+ ("go-github-com-sherclockholmes-webpush-go"
+ ,go-github-com-sherclockholmes-webpush-go)
+ ("go-git-sr-ht-sircmpwn-go-bare" ,go-git-sr-ht-sircmpwn-go-bare)
+ ("go-git-sr-ht-emersion-go-sqlite3-fts5" ,go-git-sr-ht-emersion-go-sqlite3-fts5)
+ ("go-git-sr-ht-emersion-go-scfg" ,go-git-sr-ht-emersion-go-scfg)))
+ (home-page "https://git.sr.ht/~emersion/soju")
+ (synopsis "User-friendly IRC bouncer") ;
+ (description
+ "Connects to upstream IRC servers on behalf of the user to provide
+extra functionality. soju supports many features
+such as multiple users, numerous @@url{https://ircv3.net/,IRCv3} extensions,
+chat history playback and detached channels. It is well-suited for both small
+and large deployments.")
+ (license license:agpl3)))
+
;;; messaging.scm ends here
--
2.41.0
next prev parent reply other threads:[~2024-04-10 19:05 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-09 20:48 [bug#70317] [PATCH 00/13] Add soju Jesse Eisses via Guix-patches via
2024-04-10 8:09 ` [bug#70317] [PATCH 01/13] gnu: packages: Add go-github-com-golang-jwt-jwt-v3 Jesse Eisses via Guix-patches via
2024-04-10 8:09 ` [bug#70317] [PATCH 02/13] gnu: packages: Add go-github-com-msteinert-pam Jesse Eisses via Guix-patches via
2024-04-10 8:09 ` [bug#70317] [PATCH 03/13] gnu: packages: Add go-nhooyr-io-websocket Jesse Eisses via Guix-patches via
2024-04-10 8:09 ` [bug#70317] [PATCH 04/13] gnu: packages: Add go-github-com-pires-go-proxyproto Jesse Eisses via Guix-patches via
2024-04-10 8:10 ` [bug#70317] [PATCH 05/13] gnu: packages: Add go-github-com-prometheus-client-model-v0.5 Jesse Eisses via Guix-patches via
2024-04-10 8:10 ` [bug#70317] [PATCH 06/13] gnu: packages: Add go-github-com-sherclockholmes-webpush-go Jesse Eisses via Guix-patches via
2024-04-10 8:10 ` [bug#70317] [PATCH 07/13] gnu: packages: Add go-git-sr-ht-emersion-go-sqlite3-fts5 Jesse Eisses via Guix-patches via
2024-04-10 8:10 ` [bug#70317] [PATCH 08/13] gnu: packages: Add go-git-sr-ht-sircmpwn-go-bare Jesse Eisses via Guix-patches via
2024-04-10 8:10 ` [bug#70317] [PATCH 09/13] gnu: packages: Add go-github-com-prometheus-common-v0.45 Jesse Eisses via Guix-patches via
2024-04-10 8:10 ` [bug#70317] [PATCH 10/13] gnu: packages: Add go-github-com-prometheus-client-golang-v1.17 Jesse Eisses via Guix-patches via
2024-04-10 8:10 ` [bug#70317] [PATCH 11/13] gnu: packages: Add go-gopkg-in-irc-v4 Jesse Eisses via Guix-patches via
2024-04-10 8:10 ` [bug#70317] [PATCH 12/13] gnu: packages: Add go-github-com-matttproud-golang-protobuf-extensions-pbutil-v2 Jesse Eisses via Guix-patches via
2024-04-10 8:10 ` Jesse Eisses via Guix-patches via [this message]
2024-04-25 14:16 ` [bug#70317] [PATCH 00/13] Add soju Sharlatan Hellseher
2024-04-25 22:08 ` [bug#70317] [PATCH v2 " Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 01/13] gnu: packages: Add go-github-com-golang-jwt-jwt-v3 Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 02/13] gnu: packages: Add go-github-com-msteinert-pam Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 03/13] gnu: packages: Add go-nhooyr-io-websocket Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 04/13] gnu: packages: Add go-github-com-pires-go-proxyproto Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 05/13] gnu: go-github-com-prometheus-client-model: Update to 0.5.0 Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 06/13] gnu: packages: Add go-github-com-sherclockholmes-webpush-go Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 07/13] gnu: packages: Add go-git-sr-ht-emersion-go-sqlite3-fts5 Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 08/13] gnu: packages: Add go-git-sr-ht-sircmpwn-go-bare Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 09/13] gnu: go-github-com-prometheus-common: Update to 0.45.0 Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 10/13] gnu: go-github-com-prometheus-client-golang: Update to 1.17.0 Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 11/13] gnu: packages: Add go-gopkg-in-irc-v4 Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 12/13] gnu: golang-protobuf-extensions-pbutil: Update to 2.0.0 Jesse Eisses via Guix-patches via
2024-04-25 22:08 ` [bug#70317] [PATCH v2 13/13] gnu: packages: Add soju Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 00/13] Add Soju Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 01/13] gnu: packages: Add go-github-com-golang-jwt-jwt-v3 Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 02/13] gnu: packages: Add go-github-com-msteinert-pam Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 03/13] gnu: packages: Add go-nhooyr-io-websocket Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 04/13] gnu: packages: Add go-github-com-pires-go-proxyproto Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 05/13] gnu: go-github-com-prometheus-client-model: Update to 0.5.0 Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 06/13] gnu: packages: Add go-github-com-sherclockholmes-webpush-go Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 07/13] gnu: packages: Add go-git-sr-ht-emersion-go-sqlite3-fts5 Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 08/13] gnu: packages: Add go-git-sr-ht-sircmpwn-go-bare Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 09/13] gnu: go-github-com-prometheus-common: Update to 0.45.0 Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 10/13] gnu: go-github-com-prometheus-client-golang: Update to 1.17.0 Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 11/13] gnu: packages: Add go-gopkg-in-irc-v4 Jesse Eisses via Guix-patches via
2024-04-26 8:01 ` [bug#70317] [PATCH v2 12/13] gnu: golang-protobuf-extensions-pbutil: Update to 2.0.0 Jesse Eisses via Guix-patches via
2024-04-26 8:02 ` [bug#70317] [PATCH v2 13/13] gnu: packages: Add soju Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 00/13] Add Soju Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 01/13] gnu: packages: Add go-github-com-golang-jwt-jwt-v3 Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 02/13] gnu: packages: Add go-github-com-msteinert-pam Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 03/13] gnu: packages: Add go-nhooyr-io-websocket Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 04/13] gnu: packages: Add go-github-com-pires-go-proxyproto Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 05/13] gnu: go-github-com-prometheus-client-model: Update to 0.5.0 Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 06/13] gnu: packages: Add go-github-com-sherclockholmes-webpush-go Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 07/13] gnu: packages: Add go-git-sr-ht-emersion-go-sqlite3-fts5 Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 08/13] gnu: packages: Add go-git-sr-ht-sircmpwn-go-bare Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 09/13] gnu: go-github-com-prometheus-common: Update to 0.45.0 Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 10/13] gnu: go-github-com-prometheus-client-golang: Update to 1.17.0 Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 11/13] gnu: packages: Add go-gopkg-in-irc-v4 Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 12/13] gnu: golang-protobuf-extensions-pbutil: Update to 2.0.0 Jesse Eisses via Guix-patches via
2024-04-29 20:08 ` [bug#70317] [PATCH v4 13/13] gnu: packages: Add soju Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 00/13] Add Soju Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 01/13] gnu: packages: Add go-github-com-golang-jwt-jwt-v3 Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 02/13] gnu: packages: Add go-github-com-msteinert-pam Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 03/13] gnu: packages: Add go-nhooyr-io-websocket Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 04/13] gnu: packages: Add go-github-com-pires-go-proxyproto Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 05/13] gnu: go-github-com-prometheus-client-model: Update to 0.5.0 Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 06/13] gnu: packages: Add go-github-com-sherclockholmes-webpush-go Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 07/13] gnu: packages: Add go-git-sr-ht-emersion-go-sqlite3-fts5 Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 08/13] gnu: packages: Add go-git-sr-ht-sircmpwn-go-bare Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 09/13] gnu: go-github-com-prometheus-common: Update to 0.45.0 Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 10/13] gnu: go-github-com-prometheus-client-golang: Update to 1.17.0 Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 11/13] gnu: packages: Add go-gopkg-in-irc-v4 Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 12/13] gnu: golang-protobuf-extensions-pbutil: Update to 2.0.0 Jesse Eisses via Guix-patches via
2024-05-04 8:30 ` [bug#70317] [PATCH v5 13/13] gnu: packages: Add soju Jesse Eisses via Guix-patches via
2024-05-04 14:19 ` [bug#70317] [PATCH 00/13] " Sharlatan Hellseher
2024-05-07 22:33 ` bug#70317: " Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240410081012.25854-13-jesse@eisses.email \
--to=guix-patches@gnu.org \
--cc=70317@debbugs.gnu.org \
--cc=jesse@eisses.email \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).