summaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm39
1 files changed, 26 insertions, 13 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 663048c86f..0f1c7509a7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
-;;; Copyright © 2014-2024 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014-2025 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015-2024 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
@@ -5584,11 +5584,9 @@ Cloud.")
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
- (guile (assoc-ref inputs "guile"))
(guile-effective-version
(read-line
- (open-pipe* OPEN_READ
- (string-append guile "/bin/guile")
+ (open-pipe* OPEN_READ (which "guile")
"-c" "(display (effective-version))")))
(scm (string-append out "/share/guile/site/"
guile-effective-version))
@@ -5604,13 +5602,11 @@ Cloud.")
`("PATH" ":" prefix
,(cons*
bin
- (map (lambda (input)
- (string-append
- (assoc-ref inputs input)
- "/bin"))
- '("ephemeralpg"
- "util-linux"
- "postgresql"))))
+ (map (lambda (file)
+ (search-input-file inputs file))
+ '("/bin/pg_tmp" ;ephemeralpg
+ "/bin/ionice" ;util-linux
+ "/bin/psql")))) ;postgresql
`("GUILE_LOAD_PATH" ":" prefix
(,scm ,(getenv "GUILE_LOAD_PATH")))
`("GUILE_LOAD_COMPILED_PATH" ":" prefix
@@ -5637,7 +5633,9 @@ Cloud.")
guile-squee
guile-lzlib))
(native-inputs
- (list (lookup-package-native-input guix "guile")
+ ;; Use the highest Guile version found among dependencies to ensure .go
+ ;; files can be loaded.
+ (list (lookup-package-native-input guile-fibers-next "guile")
autoconf
automake
emacs-minimal
@@ -9756,6 +9754,21 @@ for ZIM files.")
It contains the code shared by all Kiwix ports.")
(license license:gpl3)))
+(define-public kiwix-lib-13
+ (package
+ (inherit kiwix-lib)
+ (name "kiwix-lib")
+ (version "13.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kiwix/kiwix-lib/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0mgzmqar70rj83x27a4zh7qr6yl5pi95g6i3fvvxysdjy76v18qc"))))))
+
(define-public kiwix-desktop
(package
(name "kiwix-desktop")
@@ -9826,7 +9839,7 @@ offline (such as Wikipedia), without any access to Internet.")
(inputs
(list curl
icu4c
- kiwix-lib
+ kiwix-lib-13
libmicrohttpd
libzim
pugixml