From 7eb823c6f2a8fb0820d6c66bfb2e8074009c37e8 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 11 May 2020 16:51:56 +0200 Subject: 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(-) (limited to 'gnu/packages') 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") -- cgit v1.2.3