From patchwork Tue Oct 5 20:48:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 33628 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 2DBE027BBE1; Tue, 5 Oct 2021 21:49:33 +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 855BF27BBE3 for ; Tue, 5 Oct 2021 21:49:32 +0100 (BST) Received: from localhost ([::1]:50572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXrNT-00034n-Gx for patchwork@mira.cbaines.net; Tue, 05 Oct 2021 16:49:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXrN0-0002xk-Br for guix-patches@gnu.org; Tue, 05 Oct 2021 16:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXrN0-0007xY-3y for guix-patches@gnu.org; Tue, 05 Oct 2021 16:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXrMz-00025b-Vv for guix-patches@gnu.org; Tue, 05 Oct 2021 16:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51042] [PATCH] gnu: Add catgirl. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 20:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51042 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51042@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16334669408022 (code B ref -1); Tue, 05 Oct 2021 20:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Oct 2021 20:49:00 +0000 Received: from localhost ([127.0.0.1]:41971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXrMy-00025J-B1 for submit@debbugs.gnu.org; Tue, 05 Oct 2021 16:49:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:53752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXrMv-000258-HO for submit@debbugs.gnu.org; Tue, 05 Oct 2021 16:48:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXrMq-0002sg-Hb for guix-patches@gnu.org; Tue, 05 Oct 2021 16:48:57 -0400 Received: from mx2.dismail.de ([159.69.191.136]:34975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXrMo-0007nD-2u for guix-patches@gnu.org; Tue, 05 Oct 2021 16:48:52 -0400 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 1e648802 for ; Tue, 5 Oct 2021 22:48:46 +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=tnEDMrMvmJieEdz9kQOXt3ry7dXY9AGkG0vehAgiA44=; b= CqNpibKD2zHuYAG+R9NGWP2fTkuqxxp4fOeDLcGmWnI3zBScXHhiFGSgVoSm5pfC uVmEEqGZGMj4rUhybC/V+peZxuqnbAFDkU5hXeUpdfHry0YLEaTlgrrZstfdpmBN jLcTBSdVjHVmTgZo0/j/mruOTX8M5t2tHj+li0FMvjAJHGfNIKarl+pcXcxHWoCH zXA9OINt92rIxJ9XVzFHiKOf0UOUcl1eLR6/tzZxrcgC+6axh3Zofmd6xQVS4l4F UNQqBgrTD3usPr5PGhQ9kR16ra7kCg4IbJ2SId/4t3QgOdKo3/32VX7QAeEUxApl 8A3ek9QglvqaZ3W3L4holg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 001ac1e7 for ; Tue, 5 Oct 2021 22:48:46 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 7eb86b9a for ; Tue, 5 Oct 2021 22:48:46 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id f0c96f3e (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 5 Oct 2021 22:48:39 +0200 (CEST) Date: Tue, 5 Oct 2021 16:48:35 -0400 Message-Id: <20211005204835.12477-1-jgart@dismail.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Received-SPF: pass client-ip=159.69.191.136; envelope-from=jgart@dismail.de; helo=mx2.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 | 61 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 9258d1ee32..072ec41349 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,66 @@ 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.8") + (source (origin + (method url-fetch) + (uri (string-append "https://git.causal.agency/catgirl/snapshot/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0svpd2nqsr55ac98vczyhihs6pvgw7chspf6bdlwl98gch39dxif")))) + (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. +@item Ignore: visibility of filtered messages can be toggled. +@item Security: on FreeBSD and OpenBSD, the restrict option enables tight +sandboxing. Sandboxing is always used on OpenBSD. +@end itemize +Non-features include: +@itemize +@item Dynamic configuration: all configuration happens in a simple text file +or on the command line. +@item Multi-network: a terminal multiplexer such as @command{screen} or +@command{tmux} can be used to connect catgirl to multiple networks. +@item Reconnection: when the connection to the server is lost, +@command{catgirl} exits. It can be run in a loop or connected to a bouncer, +such as pounce. @item CTCP: apart from ACTION, this protocol is useless at +best and enables abuse at worst. +@item Protocol coverage: IRCv3 extensions are implemented only where they +contribute to the intended user experience. +@item Cleartext IRC: TLS is now ubiquitous and certificates are easy to obtain. +@end itemize") + (license license:gpl3+))) + (define-public ii (package (name "ii")