summary refs log tree commit diff
path: root/gnu/packages/php.scm
diff options
context:
space:
mode:
authorAljosha Papsch <ep@stern-data.com>2021-06-18 14:22:57 +0200
committerLudovic Courtès <ludo@gnu.org>2021-06-26 22:46:09 +0200
commit68e378913914f35e40b05108c709f4d1eb55b18a (patch)
tree0f85cd402aff1f12b8c00b7e541a05c81f044663 /gnu/packages/php.scm
parentd822c592438d025107c95dc49435a4c9c3cfd863 (diff)
downloadguix-68e378913914f35e40b05108c709f4d1eb55b18a.tar.gz
gnu: php: Build sodium.
* gnu/packages/php.scm (php): Build sodium extension.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/php.scm')
-rw-r--r--gnu/packages/php.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index 71e4f5ca5e..4edff2cfd8 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -28,6 +28,7 @@
   #:use-module (gnu packages base)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages cyrus-sasl)
   #:use-module (gnu packages databases)
@@ -104,6 +105,7 @@
                ;; now uses the Aspell library.
                (with "--with-pspell" "aspell")
                (with "--with-readline" "readline")
+               (with "--with-sodium" "libsodium")
                (with "--with-sqlite3" "sqlite")
                (with "--with-tidy" "tidy")
                (with "--with-xsl" "libxslt")
@@ -359,6 +361,7 @@
        ("icu4c" ,icu4c)
        ("libgcrypt" ,libgcrypt)
        ("libpng" ,libpng)
+       ("libsodium" ,libsodium)
        ("libxml2" ,libxml2)
        ("libxslt" ,libxslt)
        ("libx11" ,libx11)