summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-10-21 22:05:11 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-10-21 22:08:24 +0200
commitb5602ef7ecccc96468bddd7bdf3ac423e12dcb3a (patch)
treeacc0bbac3f85a8d3efafc760cdc0fb45ff029805 /gnu/packages
parent2f79308872482402d3a32174dbefbf3d6d40f727 (diff)
downloadguix-b5602ef7ecccc96468bddd7bdf3ac423e12dcb3a.tar.gz
gnu: boxes: Update to 2.1.1.
* gnu/packages/shellutils.scm (boxes): Update to 2.1.1.
[arguments]: Adjust 'install phase.
Don't explicitly return #t from phases.
[native-inputs]: Add xxd.
[inputs]: Add libunistring and pcre2.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/shellutils.scm24
1 files changed, 17 insertions, 7 deletions
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 70236d9e5c..25e0ae3c2d 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -42,18 +42,21 @@
   #:use-module (gnu packages bison)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages libunistring)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages shells)
-  #:use-module (gnu packages tmux))
+  #:use-module (gnu packages tmux)
+  #:use-module (gnu packages vim))
 
 (define-public boxes
   (package
     (name "boxes")
-    (version "1.3")
+    (version "2.1.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -62,7 +65,7 @@
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0b12rsynrmkldlwcb62drk33kk0aqwbj10mq5y5x3hjf626gjwsi"))))
+                "1bf5rnfiw04ffs1l17zhbg4wvq2vfn2qbz1xmd250xqj15lysw88"))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"
@@ -78,11 +81,18 @@
                (for-each (lambda (x)
                            (install-file (car x)
                                          (string-append dest "/" (cdr x))))
-                         '(("src/boxes" . "bin")
+                         '(("out/boxes" . "bin")
                            ("doc/boxes.1" . "share/man/man1")
-                           ("boxes-config" . "etc/")))
-               #t))))))
-    (native-inputs `(("flex" ,flex) ("bison" ,bison)))
+                           ("boxes-config" . "etc/")))))))))
+    (native-inputs
+     `(("bison" ,bison)
+       ("flex" ,flex)
+
+       ;; For the tests.
+       ("xxd" ,xxd)))
+    (inputs
+     `(("libunistring" ,libunistring)
+       ("pcre2" ,pcre2)))
     (synopsis "Command line ASCII boxes")
     (description
      "This command-line filter program draws ASCII-art boxes around your input