summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-05-11 16:51:56 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-05-11 21:55:01 +0200
commit7eb823c6f2a8fb0820d6c66bfb2e8074009c37e8 (patch)
tree979757cfb4dc385e212912aff311eeba16dbcad1
parent3cfbeebb7c0c0b71ada2bc40399b88cf5c33915d (diff)
downloadguix-7eb823c6f2a8fb0820d6c66bfb2e8074009c37e8.tar.gz
gnu: oniguruma: Update to 6.9.5-rev1.
* gnu/packages/textutils.scm (oniguruma): Update to 6.9.5-rev1.
[source](uri): Adjust for inconsistent URI when dashes are involved.
-rw-r--r--gnu/packages/textutils.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 62988ec574..996ece1f01 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -476,15 +476,19 @@ as existing hashing techniques, with provably negligible risk of collisions.")
 (define-public oniguruma
   (package
     (name "oniguruma")
-    (version "6.9.4")
+    (version "6.9.5-rev1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://github.com/kkos/"
-                                  "oniguruma/releases/download/v" version
+                                  "oniguruma/releases/download/v"
+                                  ;; If there is a "-" in the version, convert
+                                  ;; to underscore for this part of the URI.
+                                  (string-map (lambda (c) (if (char=? #\- c) #\_ c))
+                                              version)
                                   "/onig-" version ".tar.gz"))
               (sha256
                (base32
-                "0lvd1rpp49i0k1icblb0i76lj2cwmhf1c5p1jdz2m6g0ywpx4sa6"))))
+                "17m92k1n6bvza6m35fpd5g36zwpwm3hfz3478iwj5bvj2sfq8g6k"))))
     (build-system gnu-build-system)
     (home-page "https://github.com/kkos/oniguruma")
     (synopsis "Regular expression library")