guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/13: gnu: oniguruma: Update to 6.9.5-rev1.


From: guix-commits
Subject: 06/13: gnu: oniguruma: Update to 6.9.5-rev1.
Date: Mon, 11 May 2020 16:04:18 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 7eb823c6f2a8fb0820d6c66bfb2e8074009c37e8
Author: Marius Bakke <address@hidden>
AuthorDate: Mon May 11 16:51:56 2020 +0200

    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.
---
 gnu/packages/textutils.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 62988ec..996ece1 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]