From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KPbpOJ4olGQU+QAASxT56A (envelope-from ) for ; Thu, 22 Jun 2023 12:55:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EMzHOJ4olGTW/AAAauVa8A (envelope-from ) for ; Thu, 22 Jun 2023 12:55:26 +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 C344B30C17 for ; Thu, 22 Jun 2023 12:55:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCHxw-0002KT-V1; Thu, 22 Jun 2023 06:55:04 -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 1qCHxw-0002K5-4c for guix-patches@gnu.org; Thu, 22 Jun 2023 06:55:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCHxv-0003uV-S1 for guix-patches@gnu.org; Thu, 22 Jun 2023 06:55:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCHxv-0004Hr-OR for guix-patches@gnu.org; Thu, 22 Jun 2023 06:55:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64222] [PATCH 4/4] gnu: Add senpai. Resent-From: =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 10:55:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64222@debbugs.gnu.org Cc: =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong Received: via spool by 64222-submit@debbugs.gnu.org id=B64222.168743129616441 (code B ref 64222); Thu, 22 Jun 2023 10:55:03 +0000 Received: (at 64222) by debbugs.gnu.org; 22 Jun 2023 10:54:56 +0000 Received: from localhost ([127.0.0.1]:34963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCHxo-0004H2-7p for submit@debbugs.gnu.org; Thu, 22 Jun 2023 06:54:56 -0400 Received: from knopi.disroot.org ([178.21.23.139]:32772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCHxl-0004Gl-Vk for 64222@debbugs.gnu.org; Thu, 22 Jun 2023 06:54:55 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DF5BA44D8B; Thu, 22 Jun 2023 12:54:52 +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 kGfAo3_3Csbn; Thu, 22 Jun 2023 12:54:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1687431291; bh=lHTHVb/oDcxRP19CmuimdMeqEtRkGb+vDeg0HULT4ZA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ZLSVj41r9jSRPm9CQyAKXQlebI8EKGQZCcGcVaURjUwmx6vfXkcEM+iWMTzyUQyFn WMeE060bypc76S2SbnmN5508AmAJqYwzW0JFIebol/QCy15+6/og+NwkUcFPmK/zEx GXOYuDLQCTRr3KW67jgRbYb22Ok2UJ7e/cUPeQNOWqVoi5XG2z9Zi4j67AkP8p1oxA iXeYyeyy9jIJy4h4ke2TaSj16jhFewcZeKCC3t/dHR4eLrBnNHT3oPWcXDARg3QAHO W84+0wYc+Za473i4+16QA3Giqs6sVdAnXwwFEupDeK6l23gjY0zGP4RZaIxsix6jRV zk76DyeROv1BQ== Date: Thu, 22 Jun 2023 19:54:27 +0900 Message-Id: <77d4e608cd53072a45f751adddf6eef0ab71d5d0.1687431267.git.mcsinyx@disroot.org> In-Reply-To: <9e1afd5da13e7b74161410bd910733604754c8a8.1687431267.git.mcsinyx@disroot.org> References: <9e1afd5da13e7b74161410bd910733604754c8a8.1687431267.git.mcsinyx@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: , Reply-to: =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong X-ACL-Warn: , =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong_via_Guix-patches?= From: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687431326; 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=Zj7A4NQ2m8CCvOJGuoHTGjLDrUm5Cqjlvpy/9CBIMRk=; b=uT5AMaA8M45ERfJJb5xKhqgp6hn2R1T5qQvAyJBo+ao1JAiSdsmwrIJ9M/VoITL8OV6cSO 3bUzGQMBPlISAWbAeZDUA5tUAichDFfUIntNULdjoI4ICzh0BqmCJboqDqwi852x7LFy2n 7KynToSWGpCbp7PIyXOkZYgN2RjqvmTzdzXVf/5iYSUwcuw6U10ZEB+iaor+zPCQJq3+cA 2QBDKA1hw7qQLprwD4YyhszDDWxIemHsuveumuAlnyNStsuz/lZjURivI7x8hyDvImFOVq jX/NmSL6SgkgsIbx/vqFuEq+yN0+zYMXjo+fu3lBlPLTO2soWsfsySeLkJRYSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ZLSVj41r; 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=1687431326; a=rsa-sha256; cv=none; b=rJMleW3g5fhmvuNqrOQsQxajpQYUSdZ2NoLib1F6zda8X+F9n1nHhUeGH+dkH0dcG42PW9 ghy1avlNqCnJ8jivKjIx/ezTddUeFV9RNaOZFUBF/woGaPhQXbckNbouLnI73NeFxD1Clz K5tx8Aarihu2pQGfNSb9qZj/+GPOivs2XT7e2fLFOhthpIniO3Li8Dq9J8iSp/gBdGfGAl 2qRa/AHmPvNCnFJIsCR5ZLjlN0pSLKDIh1aO4bctA94bYW/d8Q9tPnjs7OzBBmj5qw0D9e ki5ed3bikiooszVsshPgeOOtdcVsDXtJxcYRA896LAoYl2DFZ9EyoinBnu1lvQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ZLSVj41r; 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: C344B30C17 X-Spam-Score: -2.25 X-TUID: cku22541EEm2 * gnu/packaging/messaging.scm (senpai): New variable. Signed-off-by: Nguyễn Gia Phong --- gnu/packages/messaging.scm | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 3629d9a6d544..4fa04e5a1842 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -3496,4 +3496,56 @@ (define-public pn a text snippet), using @code{libphonenumber}.") (license license:asl2.0))) +(define-public senpai + (package + (name "senpai") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://git.sr.ht/~taiite/senpai") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qw955i5f3jr42h4afr23v7wq616bcsyq68if75qdw8j1yibnpmb")))) + (build-system go-build-system) + (arguments + (list #:import-path "git.sr.ht/~taiite/senpai/cmd/senpai" + #:unpack-path "git.sr.ht/~taiite/senpai" + #:install-source? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'build-doc + (lambda* (#:key unpack-path #:allow-other-keys) + (invoke "make" "doc/senpai.1" "doc/senpai.5" + "-C" (string-append "src/" unpack-path)))) + (add-after 'install 'install-doc + (lambda* (#:key unpack-path #:allow-other-keys) + (let ((man1 (string-append #$output "/share/man/man1")) + (man5 (string-append #$output "/share/man/man5"))) + (mkdir-p man1) + (mkdir-p man5) + (install-file + (string-append "src/" unpack-path "/doc/senpai.1") + man1) + (install-file + (string-append "src/" unpack-path "/doc/senpai.5") + man5))))))) + (native-inputs (list go-git-sr-ht-emersion-go-scfg + go-github-com-delthas-go-libnp + go-github-com-delthas-go-localeinfo + go-github-com-gdamore-tcell-v2 + go-github-com-mattn-go-runewidth + go-golang-org-x-net + go-golang-org-x-term + go-golang-org-x-time + go-mvdan-cc-xurls + scdoc)) + (home-page "https://sr.ht/~taiite/senpai") + (synopsis "Modern terminal IRC client") + (description "@code{senpai} is an IRC client that works best with bouncers") + (license license:isc))) + ;;; messaging.scm ends here -- 2.40.1