Zhaofeng Li
1f007dd009
Use lib.meta.availableOn for optional Valgrind dependency
2021-06-12 23:17:13 -07:00
Elis Hirwing
fb644190a0
php: Drop package composer1
...
Composer2 has been stable for some time now.
2021-06-04 09:27:04 +02:00
Elis Hirwing
be7451bc14
php: Drop extensions (pcs, v8, v8js, zmq, pthreads)
...
They have been marked as broken for a long time so they shouldn't be
used by anyone really.
They don't build in any of the supported versions.
2021-06-04 09:26:57 +02:00
Elis Hirwing
68eb5305ac
php: Drop PHP 7.3 support
...
PHP 7.3 won't be supported by upstream for the entire life cycle of
the 21.11 release.
Also drop the pcre' alias since it isn't needed anymore since we don't
need different pcre versions anymore.
2021-06-04 09:26:54 +02:00
Sandro
bc64755cfa
Merge pull request #124603 from mjsir911/msirabella/peclCheck
...
php.buildPecl: Add checkPhase
2021-06-01 16:34:42 +02:00
Sandro
3850fdb330
Merge pull request #120699 from NorfairKing/package-php-snuffleupagus
...
php.extensions.snuffleupagus: init at 0.7.0
2021-06-01 15:47:53 +02:00
Tom Sydney Kerckhove
52248df095
php.extensions.snuffleupagus: init at 0.7.0
2021-05-31 16:15:02 +02:00
Marco Sirabella
3a66432f26
php.buildPecl: Add checkPhase
...
Also update phpPackages' to use NO_INTERACTION
2021-05-27 12:19:14 -04:00
Maximilian Bosch
53951c0c14
phpExtensions.dom: fix build
...
ZHF #122042
2021-05-23 21:26:27 +02:00
Jan Tojnar
024243bac4
php74.extensions.iconv: fix error signalling
...
The configure script checks whether iconv supports errno. Unfortunately, on PHP < 8, the test program includes $PHP_ICONV_H_PATH, which defaults to FHS path so it fails to build:
conftest.c:13:10: fatal error: /usr/include/iconv.h: No such file or directory
13 | #include </usr/include/iconv.h>
| ^~~~~~~~~~~~~~~~~~~~~~
That causes the feature check to report a false negative, leading PHP to use a degraded code that returns PHP_ICONV_ERR_UNKNOWN when error occurs, breaking granular error handling in applications.
To prevent this, let’s just include <iconv.h>.
PHP 8 just uses include path so the detection works there: 7bd1d70341
2021-05-23 00:10:02 +02:00
Aaron Andersen
1c5c5be21b
php.packages.deployer: init at 6.8.0
2021-05-05 08:38:28 -04:00
talyz
30cae53dbb
v8: 7.4.255 -> 8.4.255
2021-03-29 15:25:17 +02:00
Robert Scott
96390f4286
Merge pull request #115487 from stephank/fix-darwin-php
...
php80: fix on darwin
2021-03-14 17:58:44 +00:00
Elis Hirwing
7b44695658
php.extensions.swoole: init at 4.6.4
2021-03-11 18:17:45 +01:00
Stéphan Kochen
da049ba377
php80: fix on darwin
2021-03-10 11:57:29 +01:00
Sandro Jäckel
af32607630
php-packages: cleanup
2021-03-08 02:01:14 +01:00
Jan Tojnar
3f4d4ee05a
Merge pull request #114210 from jtojnar/fix-optionals
...
top-level/php-packages: fix types
2021-03-06 22:13:01 +01:00
Maximilian Bosch
8c26eaa144
Revert "php: Add php package versions to extensions/packages pnames"
...
This reverts commit a081dcf86d
.
2021-03-04 15:26:36 +01:00
Elis Hirwing
a081dcf86d
php: Add php package versions to extensions/packages pnames
2021-02-27 21:57:02 +01:00
Elis Hirwing
ad990d49aa
php.packages.composer2: deinit package since main package is updated
2021-02-27 12:27:18 +01:00
Elis Hirwing
89dacdd7a5
php.packages.composer1: init at 1.10.15
2021-02-27 12:26:38 +01:00
Jan Tojnar
22bf2d0331
top-level/php-packages: fix types
...
Passing list to `optional` wraps it in another list but we just want to return it as is.
Let’s just use `optionals` everywhere as that is much more predictable and makes such mistakes obvious.
2021-02-24 08:26:36 +01:00
Elis Hirwing
173edd9547
Merge pull request #112360 from helsinki-systems/fix/php-xls-xmlrpc
...
phpExtensions80: fix xls, disable xmlrpc
2021-02-10 10:35:21 +01:00
Aaron Andersen
159f0efe20
Merge pull request #111515 from aanderse/libsmbclient-php
...
php.extensions.smbclient: init at 1.0.4
2021-02-09 07:37:54 -05:00
Aaron Andersen
dd147bbc64
php.extensions.smbclient: init at 1.0.4
2021-02-08 23:15:12 -05:00
ajs124
b8c532e061
phpExtensions.xsl: fix build against php80 by disabling tests
...
they succeed on 7.3 and 7.4, but not 8.0
2021-02-08 16:07:25 +01:00
ajs124
220356309e
phpExtensions.xmlrpc: disable on 8.0, as it was unbundeled in that release
2021-02-08 16:07:24 +01:00
talyz
6c32f248d0
php.extensions.xmlreader: Add internal dependency on dom
2021-01-30 16:41:14 +01:00
Jonathan Ringer
9bb3fccb5b
treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
...
continuation of #109595
pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.
python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Jörg Thalheim
2af38d76fe
phpPackags.gettext: configureFlags should be a list
2021-01-12 13:10:35 +01:00
Elis Hirwing
58d897e812
Merge pull request #108904 from aanderse/php-oci8
...
php80.extensions.oci8: 2.2.0 -> 3.0.1
2021-01-10 14:23:09 +01:00
Aaron Andersen
b929911380
php80.extensions.oci8: 2.2.0 -> 3.0.1
2021-01-09 20:10:04 -05:00
Elis Hirwing
b305e4dd7e
Merge pull request #108666 from helsinki-systems/upd/php
...
php: 7.3.25 -> 7.3.26, 7.4.13 -> 7.4.14, 8.0.0 -> 8.0.1
2021-01-09 14:35:55 +01:00
ajs124
0f04df98a2
php80Extensions.opcache: drop patch
...
does not apply anymore and it compiles without it now
2021-01-08 01:29:07 +01:00
Aaron Andersen
b5707ce9c0
php.extensions.pdlib: init at 1.0.2
2020-12-28 18:38:50 -05:00
Jan Tojnar
7e8b2b7e98
phpPackages: convert to scope
...
This will make it easier to make overridable.
Had to rename `packages` attribute to `tools` in `php-packages.nix` because `packages` is shadowed by `makeScope`.
2020-12-15 17:57:40 +01:00
Soner Sayakci
4cd8412880
php80: init at 8.0.0
2020-12-01 11:54:42 +01:00
Elis Hirwing
3d31818f1a
php: Drop usage of isPhp73 and isPhp74
...
These variables have bad names that doesn't really make full sense
2020-10-11 20:10:58 +02:00
Elis Hirwing
6d0abdd9c1
phpExtensions.yaml: Move to separate directory
2020-10-11 20:00:38 +02:00
Elis Hirwing
e810b999eb
phpExtensions.xdebug: Move to separate directory
2020-10-11 19:58:03 +02:00
Elis Hirwing
a004e2ca68
phpExtensions.sqlsrv: Move to separate directory
2020-10-11 19:55:31 +02:00
Elis Hirwing
f5a4a96fad
phpExtensions.redis: Move to separate directory
2020-10-11 19:53:07 +02:00
Elis Hirwing
80ba7d0c87
phpExtensions.rdkafka: Move to separate directory
2020-10-11 19:49:28 +02:00
Elis Hirwing
b27b297c56
php73Extensions.pthreads: Move to separate directory
2020-10-11 19:45:22 +02:00
Elis Hirwing
63e150560b
phpExtensions.protobuf: Move to separate directory
2020-10-11 19:39:34 +02:00
Elis Hirwing
58c1014f5a
phpExtensions.pinba: Move to separate directory
2020-10-11 19:37:31 +02:00
Elis Hirwing
d5ea4254a4
phpExtensions.php_excel: Move to separate directory
2020-10-11 19:32:05 +02:00
Elis Hirwing
fd6db7224b
phpExtensions.pdo_sqlsrv: Move to separate directory
2020-10-11 19:24:04 +02:00
Elis Hirwing
98bc2f4da6
phpExtensions.pcov: Move to separate directory
2020-10-11 19:19:01 +02:00
Elis Hirwing
1f00056a36
phpExtensions.oci8: Move to separate directory
2020-10-11 19:16:59 +02:00