From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2OzFJBN45l/XcAAA0tVLHw (envelope-from ) for ; Fri, 25 Dec 2020 23:38:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SPugIBN45l81JQAAB5/wlQ (envelope-from ) for ; Fri, 25 Dec 2020 23:38:59 +0000 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 BC396940222 for ; Fri, 25 Dec 2020 23:38:58 +0000 (UTC) Received: from localhost ([::1]:41796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kswfh-0006pS-HZ for larch@yhetil.org; Fri, 25 Dec 2020 18:38:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kswGe-0000Zu-1J for guix-patches@gnu.org; Fri, 25 Dec 2020 18:13:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kswGc-0005Gc-Jg for guix-patches@gnu.org; Fri, 25 Dec 2020 18:13:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kswGc-0001YU-F9 for guix-patches@gnu.org; Fri, 25 Dec 2020 18:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45440] [PATCH] gnu: Add boxes. Resent-From: aecepoglu Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Dec 2020 23:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45440 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45440@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16089379755960 (code B ref -1); Fri, 25 Dec 2020 23:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Dec 2020 23:12:55 +0000 Received: from localhost ([127.0.0.1]:58445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kswGU-0001Y4-C3 for submit@debbugs.gnu.org; Fri, 25 Dec 2020 18:12:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:52198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksw0l-00012D-Gr for submit@debbugs.gnu.org; Fri, 25 Dec 2020 17:56:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksw0l-0006bC-5L for guix-patches@gnu.org; Fri, 25 Dec 2020 17:56:39 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:55759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksw0i-00088D-NO for guix-patches@gnu.org; Fri, 25 Dec 2020 17:56:38 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id E89D794A for ; Fri, 25 Dec 2020 17:56:33 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 25 Dec 2020 17:56:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:subject:message-id:mime-version:content-type; s= fm2; bh=lCfr0BzU2QI0lCfZrIe+vFAEbsf1imNhbU4gsbbIETk=; b=c+5jY6L3 2RXYRT7rqaIeSnzHq4XCMh65SK1yGS08zaBUskm+lilujcB0MjBbWjKsTcMGlgJV RQcJIs2Z6K3sQtIqKvOriiVncO/Atkepx9DdFSxcTbw8mXuLwwlU7KI7PHcpTE9t R7RaV94xK3OpPUV1v6DwF4S0GQJPhE6F9NyFMv2M+IvzHiczT8nNWubC5fKGYDCa xdnjLQYGK+Fk5/t+7RaRvHlPSP0MQEjsIFUEUt6ZZVFJfF0JPZhMOTZ5TUoGrnO2 DyZfyhAe2WhPTZhgCAE/5UvCTAiYxPHNqwEi50DudIHCIRPfKgqEFaMOAzYiWB/2 L9U+jlirtFYbgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=lCfr0BzU2QI0lCfZrIe+vFAEbsf1i mNhbU4gsbbIETk=; b=ZOCH8jW/KhoRo2HZve1U/8reEVIx4/Dw5LooZuS2wm5vO MMXj3xm1jKNpSoh5RAw/DgCqVW/gbZTZO/o5IgnK3qiGkPbDzV/kn42WuMj+IHBF VBHDusKgNA+s3QmblqMDp3Y3TR7l+dKBciidThNqoc0iFVHTNPmQrxxc3YA8X+ut 8L2GlbA2xjh//H38P+g9QTTvSoUDk92WplFbHF1fZ6MhxX/obo5uC/n0hxevjDZU z6dLtTgILUqhXNTKPFOloQtWi0Pms0giTUrFDxp4sU5R1gU3OXsJBOmo42aKMCXo xM3cESGsrev9T2iij8kfsZ9qHcL1a5rWDAq/bZLkg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdduvddgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesthdtredttd dtvdenucfhrhhomheprggvtggvphhoghhluhcuoegrvggtvghpohhglhhusehfrghsthhm rghilhdrfhhmqeenucggtffrrghtthgvrhhnpeekhfffgfdtkeeftdefleevvdekjeetje ekhedugeeufeeijedttdefgefgleeljeenucffohhmrghinhepghhithhhuhgsrdgtohhm pdhthhhomhgrshhjvghnshgvnhdrtghomhenucfkphepudejiedrgedurddvkedrvdejne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggvtggv phhoghhluhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: from localhost (unknown [176.41.28.27]) by mail.messagingengine.com (Postfix) with ESMTPA id 333D524005C for ; Fri, 25 Dec 2020 17:56:33 -0500 (EST) Date: Sat, 26 Dec 2020 01:57:48 +0300 From: aecepoglu Message-ID: <20201225225748.hm4avfcfo3sk2lgg@minitower> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=64.147.123.20; envelope-from=aecepoglu@fastmail.fm; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 25 Dec 2020 18:12:52 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 25 Dec 2020 18:38:49 -0500 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.72 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=fastmail.fm header.s=fm2 header.b=c+5jY6L3; dkim=fail (headers rsa verify failed) header.d=messagingengine.com header.s=fm1 header.b=ZOCH8jW/; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.fm (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BC396940222 X-Spam-Score: -0.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: guqRz9wgQ611 * gnu/packages/shellutils.scm (boxes): New variable. --- gnu/packages/shellutils.scm | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 181a640475..9d94129c40 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -34,6 +34,8 @@ #:use-module (guix build-system python) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages bison) + #:use-module (gnu packages flex) #:use-module (gnu packages golang) #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) @@ -43,6 +45,46 @@ #:use-module (gnu packages shells) #:use-module (gnu packages tmux)) +(define-public boxes + (package + (name "boxes") + (version "1.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ascii-boxes/boxes") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + "0b12rsynrmkldlwcb62drk33kk0aqwbj10mq5y5x3hjf626gjwsi"))) + (build-system gnu-build-system) + (arguments + `(#:test-target "test" + #:make-flags (list (string-append "GLOBALCONF=" + (assoc-ref %outputs "out") + "/etc/boxes-config")) + #:phases (modify-phases + %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((dest (assoc-ref outputs "out"))) + (for-each + (lambda (x) + (install-file + (car x) + (string-append dest "/" (cdr x)))) + '(("src/boxes" . "bin") + ("doc/boxes.1" . "share/man/man1") + ("boxes-config" . "etc/"))) + #t)))))) + (native-inputs `(("flex" ,flex) ("bison" ,bison))) + (synopsis "Command line ASCII boxes") + (description "Command line filter program that draws ASCII art boxes +arnd your input text") + (home-page "https://boxes.thomasjensen.com/build.html") + (license license:gpl2))) + (define-public zsh-autosuggestions (package (name "zsh-autosuggestions") -- 2.29.2