GNU bug report logs - #45440
[PATCH] gnu: Add boxes.

Previous Next

Package: guix-patches;

Reported by: aecepoglu <aecepoglu <at> fastmail.fm>

Date: Fri, 25 Dec 2020 23:13:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: aecepoglu <aecepoglu <at> fastmail.fm>
Subject: bug#45440: closed (Re: [bug#45440] [PATCH] gnu: Add boxes.)
Date: Mon, 04 Jan 2021 10:55:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#45440: [PATCH] gnu: Add boxes.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 45440 <at> debbugs.gnu.org.

-- 
45440: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45440
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: aecepoglu <aecepoglu <at> fastmail.fm>
Cc: 45440-done <at> debbugs.gnu.org
Subject: Re: [bug#45440] [PATCH] gnu: Add boxes.
Date: Mon, 04 Jan 2021 11:54:42 +0100
Hi,

aecepoglu <aecepoglu <at> fastmail.fm> skribis:

> * gnu/packages/shellutils.scm (boxes): New variable.

Pushed as 729f582a830dc03a509d1e3ad28bac1d43ba6e2e.  I tweaked the
indentation and the description, and added a copyright line for you.
Let me know if I got something wrong!

Thanks,
Ludo’.

[Message part 3 (message/rfc822, inline)]
From: aecepoglu <aecepoglu <at> fastmail.fm>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add boxes.
Date: Sat, 26 Dec 2020 01:57:48 +0300
* 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




This bug report was last modified 4 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.