bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
60 lines
1,018 B
Nix
60 lines
1,018 B
Nix
{ callPackage, fetchpatch, ... }@_args:
|
|
|
|
let
|
|
base = callPackage ./generic.nix ((removeAttrs _args [ "fetchpatch" ]) // {
|
|
version = "8.1.29";
|
|
hash = "sha256-h6YDEyY/L1M/GA5xknLKXkfNmITU7DyTcgGY6v+uCCc=";
|
|
extraPatches = [
|
|
# Fix build with libxml 2.12+.
|
|
# Patch from https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082
|
|
(fetchpatch {
|
|
url = "https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082.patch";
|
|
hash = "sha256-HvpTL7aXO9gr4glFdhqUWQPrG8TYTlvbNINq33M3zS0=";
|
|
})
|
|
];
|
|
});
|
|
in
|
|
base.withExtensions ({ all, ... }: with all; ([
|
|
bcmath
|
|
calendar
|
|
curl
|
|
ctype
|
|
dom
|
|
exif
|
|
fileinfo
|
|
filter
|
|
ftp
|
|
gd
|
|
gettext
|
|
gmp
|
|
iconv
|
|
imap
|
|
intl
|
|
ldap
|
|
mbstring
|
|
mysqli
|
|
mysqlnd
|
|
opcache
|
|
openssl
|
|
pcntl
|
|
pdo
|
|
pdo_mysql
|
|
pdo_odbc
|
|
pdo_pgsql
|
|
pdo_sqlite
|
|
pgsql
|
|
posix
|
|
readline
|
|
session
|
|
simplexml
|
|
sockets
|
|
soap
|
|
sodium
|
|
sysvsem
|
|
sqlite3
|
|
tokenizer
|
|
xmlreader
|
|
xmlwriter
|
|
zip
|
|
zlib
|
|
]))
|