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.
This commit is contained in:
Marius Bakke 2020-05-11 16:51:56 +02:00
parent 3cfbeebb7c
commit 7eb823c6f2
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -476,15 +476,19 @@ (define-public pfff
(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")