summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2016-09-04 19:24:11 +0200
committerStefan Siegl <stesie@brokenpipe.de>2016-09-04 19:43:16 +0200
commitdf3103729e7a34585e236896f683b4efcc077554 (patch)
tree674c456174208d288259dacd2b2859315e06ef60 /pkgs
parent7bc6fa344a2fe616135696b2f26a328e6235366b (diff)
downloadnixlib-df3103729e7a34585e236896f683b4efcc077554.tar
nixlib-df3103729e7a34585e236896f683b4efcc077554.tar.gz
nixlib-df3103729e7a34585e236896f683b4efcc077554.tar.bz2
nixlib-df3103729e7a34585e236896f683b4efcc077554.tar.lz
nixlib-df3103729e7a34585e236896f683b4efcc077554.tar.xz
nixlib-df3103729e7a34585e236896f683b4efcc077554.tar.zst
nixlib-df3103729e7a34585e236896f683b4efcc077554.zip
phpPackages.spidermonkey: init a 1.0.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/php-packages.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix
index ed75997e7ef8..e0c5fc68af79 100644
--- a/pkgs/top-level/php-packages.nix
+++ b/pkgs/top-level/php-packages.nix
@@ -81,6 +81,19 @@ let
     buildInputs = with pkgs; [ pkgconfig cyrus_sasl ];
   };
 
+  # No support for PHP 7 yet (and probably never will be)
+  spidermonkey = assert !isPhp7; buildPecl rec {
+    name = "spidermonkey-1.0.0";
+
+    sha256 = "1ywrsp90w6rlgq3v2vmvp2zvvykkgqqasab7h9bf3vgvgv3qasbg";
+
+    configureFlags = [
+      "--with-spidermonkey=${pkgs.spidermonkey_185}"
+    ];
+
+    buildInputs = [ pkgs.spidermonkey_185 ];
+  };
+
   xdebug = if isPhp7 then xdebug24 else xdebug23;
 
   xdebug23 = assert !isPhp7; buildPecl {