From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id kII5DpzyNWaGXgAA62LTzQ:P1 (envelope-from ) for ; Sat, 04 May 2024 10:32:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kII5DpzyNWaGXgAA62LTzQ (envelope-from ) for ; Sat, 04 May 2024 10:32:28 +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=O4VFrwQN; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail1 header.b="VWyWnKv/"; 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=1714811548; a=rsa-sha256; cv=none; b=hP4HsgpXUqtd8Q9EFQDKAtMBTrjSwyjZM4LlfJtzeUq6yqmAnFfpNFbtGTw4cGUDs2+YA3 x3uBzVYO/miI2xQBeIjxUiTpfD59yolPHE3KvSrNoeSEP3AfGMzDHTWZ+G38pc6bFTERTa mVXEga+Od5SNHkyVwWTlh8Zr4USilT9zCzfxil+cHnYrBFutGrf5Y3srjU3NI8+k4l3ucS M0gLllIH3YrxQqjSs7ZL0L6OxYqf8a4qJ4LFNB+8b5f/MG68bfYopp3Agg62xXbmZL+kW+ 1jW6WiUzshJTsSUFu0zBFh2tUuj7apjQSnvNPsfl0gXTETkHwUWZcDbJNjK/Tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eisses.email header.s=purelymail1 header.b=O4VFrwQN; dkim=fail ("headers rsa verify failed") header.d=purelymail.com header.s=purelymail1 header.b="VWyWnKv/"; 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=1714811548; 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=nVLpRx3SEU552DZsH1VnYDJu6EzmNSVKOUg3s+heubI=; b=ZUL9fIwqpAdCYcme/KRUGmXlW0s092LLNaTedQauuu5FVp8ushl8UFNrHXOS7hx3LWtTFR z/j4kNdhgmI2TvgAy5t3i6OCv7J0O+z3UzyTpP5gZFQ6uJlKG/lhoE93oTmEeL7cEZpg4c LH4pEtxi3U9iuIfxgB+CVwmzDQThX5N1Fc4D9fA5TFzYN1Me5woj21zONUij0aq+m4FghV eelMl5Kv5rdDqUx15WGqmSpqqRBorpyAShJZWlA1IjQVizUq+XPWNIvyb/JI0Pg/nX31PZ c9xIsE21mOFEdoXb+l+6qvgyu4NyQ2uFAC7rZ5E/V+kNre6tf0PPS703IocXHA== 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 F00291DEFB for ; Sat, 4 May 2024 10:32:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3AoC-0005d4-8h; Sat, 04 May 2024 04:31:52 -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 1s3Ao5-0005aY-KL for guix-patches@gnu.org; Sat, 04 May 2024 04:31:46 -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 1s3Ao5-0007a4-Bv for guix-patches@gnu.org; Sat, 04 May 2024 04:31:45 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3AoS-0007pz-7q for guix-patches@gnu.org; Sat, 04 May 2024 04:32:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70317] [PATCH v5 13/13] gnu: packages: Add soju Resent-From: Jesse Eisses Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 08:32:08 +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.171481151130028 (code B ref 70317); Sat, 04 May 2024 08:32:08 +0000 Received: (at 70317) by debbugs.gnu.org; 4 May 2024 08:31:51 +0000 Received: from localhost ([127.0.0.1]:52099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3AoA-0007oG-Iw for submit@debbugs.gnu.org; Sat, 04 May 2024 04:31:51 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:52058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Ao8-0007nn-Rh for 70317@debbugs.gnu.org; Sat, 04 May 2024 04:31:49 -0400 DKIM-Signature: a=rsa-sha256; b=O4VFrwQNu0mzaMCCDDH05XmGyq3QLAAKblF+duF4eoPc12rbjMMDQo+OGs0em/Jq0PzOE4IrkXRFPfDLO5Pm9KDpITq5g+DjIh7v3CEpDstZogZofse5tFU82ZicKPEw6bgpLHqaxCJRQmZJrmwS4PLaX46vggdwlmj1eCBFpSXKRKJpGILt9iWWsJbciotuMVvB1hZJ9kOPoQF15/P2w2D3O+IV/nX9Sa5imL5RYF2S4Dh9TfYxCYpcVaYUBfvxM7YKT7vHur12LS2N5f0CtOfWuTBr6W6dbE4+RC07wDlBJjTn3mbFMjOoQsYqJ76uycVRxlziCscgvMkr90ky+w==; s=purelymail1; d=eisses.email; v=1; bh=Au7ypoegHH3ZnCLpkpZKjDvI1ufuSeor0E4IaUHjhKc=; h=Received:From:To:Subject; DKIM-Signature: a=rsa-sha256; b=VWyWnKv/UscCyVmA7ohHeooVEmhDE7DHT6ftNgbmr0HYL/VeHpF1sNDmoO6fpTslQRZj9xr0YSlLQDZ6OM5r3NvdPzQYDrZabmGX1j96GwaXqHBtWBE+Vz3eNmLXc7OHDtn7azHhdCDVWlvZPnP+V5CVY0wgMMBdz02osGqVR2Rq3VpyH749/uHqJYGefDg5vI0Qdy6HJKWmeqsDhw2ggYjmT2FxS3XVGu9NfFVQoiaQHcgCyJAZt47g53N74nCm6BSlAX4OHcoN0g5sv8SdANQPatcm0KDs0WUaWXn4ylJBdmiSWhREQx+A+fTYr2frGpCmpur6ljUpoQy2uOfjDQ==; s=purelymail1; d=purelymail.com; v=1; bh=Au7ypoegHH3ZnCLpkpZKjDvI1ufuSeor0E4IaUHjhKc=; 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 -1118950669; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 04 May 2024 08:31:01 +0000 (UTC) Date: Sat, 4 May 2024 10:30:25 +0200 Message-ID: <20240504083033.29426-14-jesse@eisses.email> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240504083033.29426-1-jesse@eisses.email> References: <20240504083033.29426-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-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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: F00291DEFB X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.89 X-Spam-Score: -6.89 X-TUID: kFU9agvAx23Y --- 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=3Dignore-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} extension= s, +chat history playback and detached channels. It is well-suited for both s= mall +and large deployments.") + (license license:agpl3))) + --=20 2.41.0