summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-04-08 20:18:26 +0200
committerRutherther <rutherther@ditigal.xyz>2026-04-08 20:40:56 +0200
commitbf31052841b5ada64bbc1eeadfcc098a09f3a605 (patch)
tree589d78354d962fd514302e8629c82a35438c5427 /gnu
parent279b5ace0d7bada1ce121c9bf279f21ea3dafd2c (diff)
gnu: libzim: Fix package.
This is a follow-up to 1ae186f73c870bff063a94161bd74b974659a94c. * gnu/packages/web.scm (libzim) [native-inputs]: Fetch testing-suite with git. [arguments]<#:configure-flags>: Refresh accordingly. Change-Id: I1a2e95ecbf0f3cc1e2b6fef58cb84d52c448968e Signed-off-by: Rutherther <rutherther@ditigal.xyz> Merges: #7750
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm20
1 files changed, 10 insertions, 10 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index cbad307ba3..5115db3bfd 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -9957,7 +9957,8 @@ grepping the list.")
#:configure-flags
#~(list
(string-append "-Dtest_data_dir="
- #+(this-package-native-input testsuite-file-name)))))
+ #+(this-package-native-input testsuite-file-name)
+ "/data"))))
(inputs
(list icu4c
python-wrapper ; for libzim-compile-resources
@@ -9970,17 +9971,16 @@ grepping the list.")
googletest
;; The testsuite is a pre-generated artifact that can be
;; regenerated from the upstream repository, but it
- ;; explicitely advises against it. Not knowing better,
- ;; not doing it for now.
+ ;; explicitely advises against it. Use it pregenerated.
+ ;; Using git-fetch allows us to avoid additional unpacking.
(origin
- (method url-fetch)
- (uri (apply format #f "https://github.com/openzim/\
- zim-testing-suite/releases/download/~a/zim-testing-suite-~a.tar.gz"
- (make-list 2 "0.9.0")))
- (file-name "zim-testing-suite.tar.gz")
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/openzim/zim-testing-suite")
+ (commit testsuite-version)))
+ (file-name testsuite-file-name)
(sha256
- (base32
- "175916xb24xrrgwhdcnsbmpzvddz7mynacm73595qias5ias94hi")))))
+ (base32 "14ac58i0zzvzssl5fyykc494jlw4ia8dhfr10hmi8h3gfn08dm62")))))
(home-page "https://wiki.openzim.org/wiki/Main_Page")
(synopsis "Reference implementation of the ZIM specification")
(description "The openZIM project proposes offline storage solutions for