From patchwork Tue Oct 5 23:37:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 33634 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 134B627BBE3; Wed, 6 Oct 2021 00:40:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C4AA427BBE1 for ; Wed, 6 Oct 2021 00:40:25 +0100 (BST) Received: from localhost ([::1]:54040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXu2q-0003Pu-Qg for patchwork@mira.cbaines.net; Tue, 05 Oct 2021 19:40:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXu2U-0003Ox-EW for guix-patches@gnu.org; Tue, 05 Oct 2021 19:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXu2U-0005UG-6u for guix-patches@gnu.org; Tue, 05 Oct 2021 19:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXu2T-0004Qq-Ty for guix-patches@gnu.org; Tue, 05 Oct 2021 19:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51042] [PATCH 1/2] gnu: Add catgirl. References: <20211005204835.12477-1-jgart@dismail.de> In-Reply-To: <20211005204835.12477-1-jgart@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 23:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51042 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51042@debbugs.gnu.org Cc: jgart , Liliana Marie Prikler Received: via spool by 51042-submit@debbugs.gnu.org id=B51042.163347717216990 (code B ref 51042); Tue, 05 Oct 2021 23:40:01 +0000 Received: (at 51042) by debbugs.gnu.org; 5 Oct 2021 23:39:32 +0000 Received: from localhost ([127.0.0.1]:42110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXu20-0004Py-Cb for submit@debbugs.gnu.org; Tue, 05 Oct 2021 19:39:32 -0400 Received: from mx1.dismail.de ([78.46.223.134]:41262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXu1y-0004Ph-3T for 51042@debbugs.gnu.org; Tue, 05 Oct 2021 19:39:31 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 9f5a6c9c; Wed, 6 Oct 2021 01:39:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=bGRz8kCugQ6rbS4x1BK10Mftp6B8Y/se25RDOK5gNFI=; b= SjtE2G0L4E0IGNdZm9D09GBm9bPf8A0XU37hpvAUw7i2hD04c4EDNyVchAQH3g2/ iT1HsS6jBu2u+1tdKuguaoSzcDMFWZD0O6SVdqkzlZgxDRZfo+FTN4sOQtPRXQLX D+h6sBCUu5VCtEceGeqnaapJxP1JhBrT5Zu1Ke2wq5dU6Nza+UKx0mQ9bQMMItND zsGRzeqoRA0Ic9GjHNwq/4UqWDjHW9w3eVN0S/rbGWvDsr805JhmkjrHVmfgAsDT 5aI4wkTPUeQn4boqRsvt/pCn0E1X/0ZhNsX3/I8NTX9KcUQFQZTHKKG+f3r41Aoo OMFcJtG1mh3hxV/indhOug== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id eed06952; Wed, 6 Oct 2021 01:39:22 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 9579460a; Wed, 6 Oct 2021 01:39:22 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 2f1abd18 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 6 Oct 2021 01:39:21 +0200 (CEST) Date: Tue, 5 Oct 2021 19:37:56 -0400 Message-Id: <20211005233755.25862-1-jgart@dismail.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart X-getmail-retrieved-from-mailbox: Patches * gnu/packages/irc.scm (catgirl): New variable. --- gnu/packages/irc.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 9258d1ee32..3c2dae1284 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -47,6 +47,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages backup) #:use-module (gnu packages check) + #:use-module (gnu packages code) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages cyrus-sasl) @@ -325,6 +326,49 @@ for the IRCv3 protocol.") "ircII is a terminal based IRC and ICB client for UNIX systems.") (license license:bsd-3))) +(define-public catgirl + (package + (name "catgirl") + (version "1.9a") + (source (origin + (method url-fetch) + (uri (string-append "https://git.causal.agency/catgirl/snapshot/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0pci8crcgm33zb58y7ky2aydzyqsirj8ri8ik1zdlz6npadbjj9h")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags (list (string-append "PREFIX=" %output) + ,(string-append "CC=" (cc-for-target))))) + (native-inputs + `(("universal-ctags" ,universal-ctags) + ("pkg-config" ,pkg-config))) + (inputs + `(("libressl" ,libressl) + ("ncurses" ,ncurses))) + (home-page "https://git.causal.agency/catgirl") + (synopsis "TLS-only terminal IRC client") + (description +"@command{catgirl} is a TLS-only terminal IRC client. + +Notable features include: +@itemize +@item Tab complete: most recently seen or mentioned nicks are completed first. + Commas are inserted between multiple nicks. +@item Prompt: the prompt clearly shows whether input will be interpreted as a +command or sent as a message. +@item Split scroll: keeps the latest messages in view while scrolling. +@item URL detection: recent URLs from a particular user or matching a +substring can be opened or copied. +@item Nick coloring: color generation based on usernames remains stable across +nick changes. Mentions of users in messages are colored. +@item Topic diffing: the modified portion of a channel topic change is +highlighted. +@end itemize") + (license license:gpl3+))) + (define-public ii (package (name "ii")