summary refs log tree commit diff
path: root/gnu/packages/pretty-print.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-03-15 13:47:23 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-03-15 20:30:42 +0100
commit15ceaa910a05f4e231240ea340238331999a4b1e (patch)
tree957e559fd3600303826bce4a18b0d02b9cbc21dc /gnu/packages/pretty-print.scm
parentdc8621a2c1f010bf5d8b3365e26b66603a8f2fd4 (diff)
downloadguix-15ceaa910a05f4e231240ea340238331999a4b1e.tar.gz
gnu: highlight: Update to 3.49.
* gnu/packages/pretty-print.scm (highlight): Update to 3.49.
[arguments]: Adjust SUBSTITUTE* regular expression.
Diffstat (limited to 'gnu/packages/pretty-print.scm')
-rw-r--r--gnu/packages/pretty-print.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index bdb5dbbdad..34793db58b 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -244,15 +244,14 @@ seen in a terminal.")
 (define-public highlight
   (package
     (name "highlight")
-    (version "3.47")
+    (version "3.49")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "http://www.andre-simon.de/zip/highlight-"
                            version ".tar.bz2"))
        (sha256
-        (base32
-         "0xidf8755lnx55x6p4ajgg4l145akjqswny41483fvg5lpa41i6f"))))
+        (base32 "1zlhmlq5fnsxxmm04qfchhl4w2iw5fa6sn81c34q6k2m1m77g6aj"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f                      ; no tests
@@ -267,9 +266,10 @@ seen in a terminal.")
          (add-after 'unpack 'fix-search-for-lua
            (lambda _
              (substitute* "src/makefile"
-               (("(pkg-config.*)lua" _ prefix)
-                (string-append prefix "lua-" ,(version-major+minor
-                                               (package-version lua)))))
+               (("(LUA_PKG_NAME=).*" _ assignment)
+                (string-append assignment "lua-" ,(version-major+minor
+                                                   (package-version lua))
+                               "\n")))
              #t)))))
     (inputs
      `(("lua" ,lua)