all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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 v2 13/13] gnu: packages: Add soju
Date: Fri, 26 Apr 2024 10:02:00 +0200	[thread overview]
Message-ID: <20240426080315.25131-14-jesse@eisses.email> (raw)
In-Reply-To: <20240426080315.25131-1-jesse@eisses.email>

---
 gnu/packages/irc.scm | 77 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 80b2e740ee..90dad61eb9 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -1032,3 +1032,80 @@ (define-public snuik
 now).  It has some basic functionality only, such as seen, tell, and
 what.")
     (license license:gpl3+)))
+
+(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
+     (list
+      #: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 (list scdoc))
+    (inputs (list go-google-golang-org-protobuf go-1.19))
+    (propagated-inputs
+     (list go-nhooyr-io-websocket
+           go-gopkg-in-irc
+           go-golang-org-x-time
+           go-golang-org-x-crypto
+           go-github-com-prometheus-client-golang
+           go-github-com-pires-go-proxyproto
+           go-github-com-msteinert-pam
+           go-github-com-mattn-go-sqlite3
+           go-github-com-lib-pq
+           go-github-com-emersion-go-sasl
+           go-github-com-sherclockholmes-webpush-go
+           go-git-sr-ht-sircmpwn-go-bare
+           go-git-sr-ht-emersion-go-sqlite3-fts5
+           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)))
+
-- 
2.41.0





  parent reply	other threads:[~2024-04-26  8:09 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   ` [bug#70317] [PATCH 13/13] gnu: packages: Add soju Jesse Eisses via Guix-patches via
2024-04-25 14:16 ` [bug#70317] [PATCH 00/13] " 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   ` Jesse Eisses via Guix-patches via [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240426080315.25131-14-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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.