diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-08-01 12:49:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-01 12:49:56 +0100 |
commit | 3ea0322f635a6b34b52c532609e5e285bcfd98e3 (patch) | |
tree | e6e53a850e5f71afc068ca953a75ee7c670d2d1f /pkgs/development/interpreters/php/default.nix | |
parent | d9cea0e6f177827cdd532ac7fad8c49106adf11a (diff) | |
parent | 7e6b76fc6bdebb12c8c3c2e6223f9fe5f3b38a39 (diff) | |
download | nixpkgs-3ea0322f635a6b34b52c532609e5e285bcfd98e3.tar nixpkgs-3ea0322f635a6b34b52c532609e5e285bcfd98e3.tar.gz nixpkgs-3ea0322f635a6b34b52c532609e5e285bcfd98e3.tar.bz2 nixpkgs-3ea0322f635a6b34b52c532609e5e285bcfd98e3.tar.lz nixpkgs-3ea0322f635a6b34b52c532609e5e285bcfd98e3.tar.xz nixpkgs-3ea0322f635a6b34b52c532609e5e285bcfd98e3.tar.zst nixpkgs-3ea0322f635a6b34b52c532609e5e285bcfd98e3.zip |
Merge pull request #44197 from etu/php-kill-56-and-70
php: drop 5.6 and 7.0
Diffstat (limited to 'pkgs/development/interpreters/php/default.nix')
-rw-r--r-- | pkgs/development/interpreters/php/default.nix | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix index cc50edecf60..bf84471c7eb 100644 --- a/pkgs/development/interpreters/php/default.nix +++ b/pkgs/development/interpreters/php/default.nix @@ -9,14 +9,13 @@ with lib; let - php7 = versionAtLeast version "7.0"; generic = { version , sha256 , imapSupport ? config.php.imap or (!stdenv.isDarwin) , ldapSupport ? config.php.ldap or true , mhashSupport ? config.php.mhash or true - , mysqlSupport ? (config.php.mysql or true) && (!php7) + , mysqlSupport ? (config.php.mysql or true) , mysqlndSupport ? config.php.mysqlnd or true , mysqliSupport ? config.php.mysqli or true , pdo_mysqlSupport ? config.php.pdo_mysql or true @@ -26,7 +25,7 @@ let , bcmathSupport ? config.php.bcmath or true , socketsSupport ? config.php.sockets or true , curlSupport ? config.php.curl or true - , curlWrappersSupport ? (config.php.curlWrappers or true) && (!php7) + , curlWrappersSupport ? config.php.curlWrappers or true , gettextSupport ? config.php.gettext or true , pcntlSupport ? config.php.pcntl or true , postgresqlSupport ? config.php.postgresql or true @@ -47,7 +46,7 @@ let , ftpSupport ? config.php.ftp or true , fpmSupport ? config.php.fpm or true , gmpSupport ? config.php.gmp or true - , mssqlSupport ? (config.php.mssql or (!stdenv.isDarwin)) && (!php7) + , mssqlSupport ? config.php.mssql or (!stdenv.isDarwin) , ztsSupport ? config.php.zts or false , calendarSupport ? config.php.calendar or true , sodiumSupport ? (config.php.sodium or true) && (versionAtLeast version "7.2") @@ -207,7 +206,7 @@ let outputsToInstall = [ "out" "dev" ]; }; - patches = if !php7 then [ ./fix-paths.patch ] else [ ./fix-paths-php7.patch ]; + patches = [ ./fix-paths-php7.patch ]; postPatch = optional stdenv.isDarwin '' substituteInPlace configure --replace "-lstdc++" "-lc++" @@ -220,16 +219,6 @@ let }; in { - php56 = generic { - version = "5.6.36"; - sha256 = "0ahp9vk33dpsqgld0gg4npff67v0l39hs3wk5dm6h3lablzhwsk2"; - }; - - php70 = generic { - version = "7.0.30"; - sha256 = "0l0bhnlgxmfl7mrdykmxfl53simxsksdcnbg5ymqz6r31i03hgr1"; - }; - php71 = generic { version = "7.1.20"; sha256 = "0i8xd6p4zdg8fl6f0j430raanlshsshr3s3jlm72b0gvi1n4f6rs"; |