From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 4GhtCPviFmZfpQAAe85BDQ:P1 (envelope-from ) for ; Wed, 10 Apr 2024 21:05:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4GhtCPviFmZfpQAAe85BDQ (envelope-from ) for ; Wed, 10 Apr 2024 21:05:31 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eisses.email header.s=purelymail1 header.b="Pps8LOX/"; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail1 header.b=fXfiJKKt; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712775931; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lMJwT9XulDQa8xTBre5De6MGkdAjv5om2jCweZLLWdc=; b=TF8Aa2i2nyb24PqbaYMT5P/jM8zpEBFyL0xz8DUDyR3hn7rkdk2WqmYxMtlrJiJkbM0DPk OmLU8CL28RVvFj53Fs6iS5NrsaAhyIPddC/QOPsiS9dpKCFBWgq0ZIhfoRcFoZwK/t4+ZV 65GzsUP7KzsihAboGP+HuXUk8etdLw5oOHT7Xbcmi77MJj2GHBSrNwNGg2liGaJW8SCwkT 2kYWOEQEysQdgFfjP3WOGpUPKVK1ccU8/GlHMOrM20zcxOrWXlQIi4gHvpKdZ/QeMugnI4 M0eFlc2i8GfZHXPx6vArxPf5Ce9bv2fkm9NMlgDKMm6HF++tCJyVaFX2nTY5Dw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eisses.email header.s=purelymail1 header.b="Pps8LOX/"; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail1 header.b=fXfiJKKt; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712775931; a=rsa-sha256; cv=none; b=L178HeZ+nRnFbun6D4wegrvMA87I4Bf5umsT+9eyOwsr8EBwH2kUeSp5eV83VVDVeMSFpo 5mMAYKRumqGEnPAM1EzZSZcAyKg46Ct3EOa5aM1MDCUq0S7+q+0RwrxRCwhP9FshvGomMu 7LYRAo1hdFuX0nuql0ZG+yPYvI1HvetQ5FeA79Qws7vVCVqefxOlH/2BvZ+Zci/HCFIQIY pPEGXPotID+wkp/ZPkT+B4x2x8VDq7FcVhAruvHmYLKS7lihAGxzZhVsBsZBnleei3sfHv ax/BBg8Baav4I3tVCBU8i6fmZ0auIFgG5OPUZNPk1L8wJwCZb93mwiv1VwAiLg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 803F7382D2 for ; Wed, 10 Apr 2024 21:05:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rudFa-0007WP-Ke; Wed, 10 Apr 2024 15:04:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruT3l-00088A-HR for guix-patches@gnu.org; Wed, 10 Apr 2024 04:11:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ruT3l-0004Rb-9H for guix-patches@gnu.org; Wed, 10 Apr 2024 04:11:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ruT3t-0004HB-JM for guix-patches@gnu.org; Wed, 10 Apr 2024 04:12:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70317] [PATCH 13/13] gnu: packages: Add soju Resent-From: Jesse Eisses Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Apr 2024 08:12:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70317 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70317@debbugs.gnu.org Cc: Jesse Eisses Received: via spool by 70317-submit@debbugs.gnu.org id=B70317.171273671316288 (code B ref 70317); Wed, 10 Apr 2024 08:12:05 +0000 Received: (at 70317) by debbugs.gnu.org; 10 Apr 2024 08:11:53 +0000 Received: from localhost ([127.0.0.1]:52076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruT3W-0004D1-4N for submit@debbugs.gnu.org; Wed, 10 Apr 2024 04:11:53 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:33572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruT37-00047C-9i for 70317@debbugs.gnu.org; Wed, 10 Apr 2024 04:11:23 -0400 DKIM-Signature: a=rsa-sha256; b=Pps8LOX/FrSPOK3bJeKKgMtfKjIUaMtl7UWd+RfgOH5uBXYZwBdpA226K1jp8IfkVPHkfplXonRpj3JNGLvOrP8zVBZ2ynC0ceUOnjwUjBLG3jH2DKr9a9dVucRX3PCRAgFeljEWHsFVKmB19lcQQF0hVhrICwz0ijKYtXy2q9O+58i/3Vb2QOCSCqfydnk0RCw231JqFbzHe+l4UbOmNLInxVPePchNR1ju6DEFvulGZpbqTcplNY4kQ8EJ5QEgb4EVVWlSPYBam2DZi3PxBHeYOTcFe1ttArMtWTHldOkDqRBJFaf5enN1aJalyQPyPaURnxmzijhqkHFhPvPfXg==; s=purelymail1; d=eisses.email; v=1; bh=suILeiaT6WzCiOcnQwv950ZlnSvvQ8O1OHLqbLrTbD8=; h=Received:From:To:Subject; DKIM-Signature: a=rsa-sha256; b=fXfiJKKtijtiy3GfuzaOpxBGccW0NzJtu/zDediaKfGpGkNpEH0ll0GF7QgVxtCe+YzJXKjMVAFrfEZsTjH+inQrvkbvc5zoQ4il5qMex5C/Ooc980ORT3JhfszTnMN8DI2CdEh4Wb6Sn/CtMHVZUETr3Fbg923/DIS2ey5PRsJgQSljbB0iIW1zgwO7wjj9fRyGAoTD11e5p7QPerHUVwSO7tdeiYRbdjbZ+0+Xlv2Pba6yXZffkJEVkC+Ddov5jNhjR2GYt+IsTxus5iE0naZ2+boaEGhPAL8bEhQdwPx3yzje8W+qjQVDdAuPBjufELGmfMPQIroeLXbRNeZWkQ==; s=purelymail1; d=purelymail.com; v=1; bh=suILeiaT6WzCiOcnQwv950ZlnSvvQ8O1OHLqbLrTbD8=; h=Feedback-ID:Received:From:To:Subject; Feedback-ID: 18307:3403:null:purelymail X-Pm-Original-To: 70317@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1316328955; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 10 Apr 2024 08:10:51 +0000 (UTC) Date: Wed, 10 Apr 2024 10:10:08 +0200 Message-ID: <20240410081012.25854-13-jesse@eisses.email> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240410081012.25854-1-jesse@eisses.email> References: <20240410081012.25854-1-jesse@eisses.email> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Content-Type: text/plain; charset=UTF-8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 10 Apr 2024 15:04:48 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jesse Eisses X-ACL-Warn: , Jesse Eisses via Guix-patches From: Jesse Eisses via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.87 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -6.87 X-Migadu-Queue-Id: 803F7382D2 X-TUID: W6NYj307qu5G 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))) =20 +(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/s= oju" + (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/s= oju" + (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 e= mpty 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=3Dignore-in-object-file= s") #t)))))) + (native-inputs `(("scdoc" ,scdoc))) + (inputs `(("go-google-golang-org-protobuf" ,go-google-golang-org-proto= buf) + ("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} extension= s, +chat history playback and detached channels. It is well-suited for both s= mall +and large deployments.") + (license license:agpl3))) + ;;; messaging.scm ends here --=20 2.41.0