From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oClyD4Pm6mJqbgAAbAwnHQ (envelope-from ) for ; Wed, 03 Aug 2022 23:20:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4Cp3D4Pm6mJWgQAA9RJhRA (envelope-from ) for ; Wed, 03 Aug 2022 23:20:03 +0200 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 02EB214128 for ; Wed, 3 Aug 2022 23:20:03 +0200 (CEST) Received: from localhost ([::1]:37666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJLmc-0007An-7u for larch@yhetil.org; Wed, 03 Aug 2022 17:20:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJLlg-0006J4-FD for guix-patches@gnu.org; Wed, 03 Aug 2022 17:19:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJLlg-0004na-6O for guix-patches@gnu.org; Wed, 03 Aug 2022 17:19:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJLlg-0006Bz-2B for guix-patches@gnu.org; Wed, 03 Aug 2022 17:19:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56961] [PATCH 6/6] gnu: packages: Add senpai. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Aug 2022 21:19:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56961 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56961@debbugs.gnu.org Cc: "\(" Received: via spool by 56961-submit@debbugs.gnu.org id=B56961.165956152623743 (code B ref 56961); Wed, 03 Aug 2022 21:19:04 +0000 Received: (at 56961) by debbugs.gnu.org; 3 Aug 2022 21:18:46 +0000 Received: from localhost ([127.0.0.1]:50195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJLlO-0006Ar-9E for submit@debbugs.gnu.org; Wed, 03 Aug 2022 17:18:46 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJLlG-0006A7-3M for 56961@debbugs.gnu.org; Wed, 03 Aug 2022 17:18:38 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7884E40E7F; Wed, 3 Aug 2022 23:18:37 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RVH-MZag0B6p; Wed, 3 Aug 2022 23:18:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659561511; bh=f08xfLp6sEkNoC5v1MmKZqVC24jYVw/yA872b/8Nqrg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=PvVp6Q8rqD7LRTM04tKWAByXypeY34QnrFpweRnIm7m9NxoYU9NPcK48HBer0Ye9J ++ZjWZjPzebyaoh47g0fY7xPnZr+QS/pNXCIlkM/AyiI0Oz2DCr/k8/8YNkpglKUos H4HltaaIHjJ4Jr6hjSEnKu/gWPVDS+oj+U4XsgBA8Q6N9KawXzVm8IjKlHQc7J3ZmJ UpTi+mnL89q3Co44zzID3AhK+7uqaxy435cN3ckm/fE3kV/mcFpDfQQ984DyglSXgY oeB4sI6oTTJaj7gN+9nooSVZADK8Hu9/Zy3PZbkfInlbYxxcyKRzDG0e5GU9MQXr6X Mku51rG70i4rQ== Date: Wed, 3 Aug 2022 22:18:22 +0100 Message-Id: <20220803211822.21182-6-paren@disroot.org> In-Reply-To: <20220803211822.21182-1-paren@disroot.org> References: <20220803211822.21182-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659561603; 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=W3lHnpdv4WkTv5y0l68xtevpRe8svv5IoCvuZ5xA2V0=; b=tpi2QMsqHEw4dxCckVZeIvDx4l+zgzY05XVxcp/q2N8q8ml5qaHybJlBef9E7dIP77vTae uRSNB4WNfTMjHNur8yUlfpvmrs+LyFxxpAJyerZ2PPxEFJfV60l671gH4RgljyPAbK6Bnz Lz16lPzN2gIn+fTKZajdI/FJ18VZC4H7Oxj3g+AbH80LntW4368fYnDZphcgO/SDpvS+xC TL1SO1xWpU0w+oV4xpCzBpmRU/eTt+pi0oKU3lT0S99h1T9SSHHWiAO93WPmfqvIU8CLqZ R++0t72DQ2XLzC8WIAq8JqXVFgPNYVmF6+SV35QQwztqpEWrJ8L069fSCeDvZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659561603; a=rsa-sha256; cv=none; b=NMCJFTLWOkoXhTqdARR12eFOoAB86fG3slchervmtTiIsEqQrJWZr9m1Sj49YPVEOmfVBb GMoE28O9fIyc4OkoFm9i0/mVXOsNKArkJe/2GfpASJHZ/9w4FAZii5KOohZTAp81P80ENJ LG8/9PUvIGN7tl/lE2y9lK0oAvZgApX7rJmsSBE4zaGhCvcFV7mp+sWEOxitgG8APuaAmX esa/tm6bxLhGGge3qBvD9/zWOzq6uGScMlJMbkUsDAQSfdEKWJS1rV+pDTUrCY5BeQEThr TcjKn9epXdUn+jcos2MuLN9ejm3RcQ3l9rUayVf95IuRY73UP9hfxwR/N183iQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=PvVp6Q8r; 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" X-Migadu-Spam-Score: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=PvVp6Q8r; 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" X-Migadu-Queue-Id: 02EB214128 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: fszLNLQYWyOx * gnu/packages/irc.scm (senpai): New variable. --- gnu/packages/irc.scm | 61 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index efb32a39e0..3684e02e32 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Brett Gilio ;;; Copyright © 2021 WinterHound ;;; Copyright © 2022 Jai Vetrivelan +;;; Copyright © 2022 ( ;;; ;;; This file is part of GNU Guix. ;;; @@ -38,6 +39,7 @@ (define-module (gnu packages irc) #:use-module (guix utils) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system go) #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system qt) @@ -61,10 +63,12 @@ (define-module (gnu packages irc) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) + #:use-module (gnu packages golang) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages lua) #:use-module (gnu packages lxqt) + #:use-module (gnu packages man) #:use-module (gnu packages ncurses) #:use-module (gnu packages openldap) #:use-module (gnu packages kde) @@ -688,3 +692,60 @@ (define-public inspircd server written in C++ for Unix-like operating systems.") (home-page "https://www.inspircd.org/") (license license:gpl2))) + +(define-public senpai + (let ((commit "e8ed8e7e13134ee7fc8ac116d58efc55813632a1") + (revision "2")) + (package + (name "senpai") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~taiite/senpai") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rq07ldi8ga5pv9mm0g4sgipqxnnjcff2n1wsmjx3wqcbrmrqhbg")))) + (build-system go-build-system) + (arguments + (list #:import-path "git.sr.ht/~taiite/senpai" + #:install-source? #f + #:phases + #~(modify-phases %standard-phases + (replace 'build + (lambda* (#:key import-path #:allow-other-keys) + (invoke "make" "-C" + (string-append "src/" import-path)))) + (add-after 'build 'build-docs + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion + (string-append "src/" import-path) + (invoke "sh" "-c" + (string-append "scdoc < doc/senpai.1.scd " + "> doc/senpai.1 && " + "scdoc < doc/senpai.5.scd " + "> doc/senpai.5"))))) + (replace 'install + (lambda* (#:key outputs import-path #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "make" "install" "-C" + (string-append "src/" import-path) + (string-append "PREFIX=" out)))))))) + (native-inputs (list scdoc)) + (propagated-inputs + (list go-github-com-delthas-tcell + go-mvdan-cc-xurls + go-golang-org-x-time + go-golang-org-x-term + go-golang-org-x-net + go-github-com-mattn-go-runewidth + go-git-sr-ht--emersion-go-scfg)) + (home-page "https://git.sr.ht/~taiite/senpai") + (synopsis "IRC client that works best with bouncers") + (description + "@code{senpai} is an IRC client that works best with bouncers. No +logs are kept, history is fetched from the server via @code{CHATHISTORY}, +and networks are fetched from the server via @code{bouncer-networks}.") + (license license:isc)))) -- 2.37.1