Commit Graph

437 Commits

Author SHA1 Message Date
Elis Hirwing
db439da3cd
nixos/tests/php: Select the right versions of the tests depending on version 2021-03-02 09:22:33 +01:00
Elis Hirwing
ac8a8fe2fa
php: Rename extra init file in store and symlink it instead of copying 2021-02-27 22:40:08 +01:00
ajs124
8e8b21a0e4 php80: 8.0.1 -> 8.0.2
https://www.php.net/ChangeLog-8.php#8.0.2

Fixes CVE-2021-21702 and a whole buch of regular bugs
2021-02-06 18:32:58 +01:00
ajs124
0761e651c4 php74: 7.4.14 -> 7.4.15
https://www.php.net/ChangeLog-7.php#7.4.15

Fixes CVE-2021-21702 and a some regular bugs
2021-02-06 18:32:02 +01:00
ajs124
08871edb4d php73: 7.3.26 -> 7.3.27
https://www.php.net/ChangeLog-7.php#7.3.27

Fixes CVE-2021-21702
2021-02-06 18:31:36 +01:00
Ben Siraphob
001c0cbe54 pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07: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
ajs124
0f04df98a2 php80Extensions.opcache: drop patch
does not apply anymore and it compiles without it now
2021-01-08 01:29:07 +01:00
ajs124
0821afd601 php80: 8.0.0 -> 8.0.1
https://www.php.net/ChangeLog-8.php#8.0.1
2021-01-08 01:23:06 +01:00
ajs124
42ea217821 php74: 7.4.13 -> 7.4.14
https://www.php.net/ChangeLog-7.php#7.4.14
2021-01-07 13:54:16 +01:00
ajs124
c4f306e6f6 php73: 7.3.25 -> 7.3.26
https://www.php.net/ChangeLog-7.php#7.3.26
2021-01-07 13:53:55 +01:00
Jan Tojnar
b2594c71c2
php.packages: Make packages overridable
This will allow patching extensions without having to manually having to patch all occurrences in the dependency tree.
2020-12-16 18:32:27 +01: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
ajs124
1eb55d4c55 php74: 7.4.12 -> 7.4.13
https://www.php.net/ChangeLog-7.php#7.4.13
2020-11-26 20:14:48 +01:00
ajs124
eec6063cc4 php73: 7.3.24 -> 7.3.25
https://www.php.net/ChangeLog-7.php#7.3.25
2020-11-26 15:31:25 +01:00
Alex Good
aaa7af13dc Merge branch 'master' into wrapprogram-for-phpdbg 2020-11-16 16:38:21 +00:00
Alex Good
68761cb016 wrapProgram for phpdbg in pkgs.php* 2020-11-16 16:27:38 +00:00
Elis Hirwing
b62b76b78b
php: Refactor to have the different versions as separate files
This should enable easier auto updates of the packages.
2020-11-06 13:48:27 +01:00
Elis Hirwing
caa71a3ee4
Merge pull request #102715 from etu/php74-update
php74: 7.4.11 -> 7.4.12
2020-11-05 13:01:01 +01:00
Elis Hirwing
c1a2cf890a
php74: 7.4.11 -> 7.4.12 2020-11-04 07:05:49 +01:00
Elis Hirwing
fc48e6f932
php73: 7.3.23 -> 7.3.24 2020-11-04 07:05:21 +01:00
Nikolay Korotkiy
e300f0fd69
php: fix on darwin 2020-10-27 13:24:20 +03:00
Elis Hirwing
5a12d2797c
php: Fix pear path 2020-10-14 07:41:30 +02:00
Jan Tojnar
a07508c1d3
php: declare ZTS support
Binary extensions like Blackfire need to know whether PHP was
compiled with ZTS support to work properly.
2020-10-07 10:44:53 +02:00
Maximilian Bosch
385eeb4c35
Merge pull request #99377 from etu/php73-update
php73: 7.3.20 -> 7.3.23
2020-10-03 17:44:13 +02:00
Elis Hirwing
e04af50179
php73: 7.3.20 -> 7.3.23
- https://www.php.net/ChangeLog-7.php#7.3.21
 - https://www.php.net/ChangeLog-7.php#7.3.22
 - https://www.php.net/ChangeLog-7.php#7.3.23
2020-10-02 13:07:25 +02:00
Elis Hirwing
a792db658f
php74: 7.4.8 -> 7.4.11
https://www.php.net/ChangeLog-7.php#7.4.9
https://www.php.net/ChangeLog-7.php#7.4.10
https://www.php.net/ChangeLog-7.php#7.4.11
2020-10-02 12:58:58 +02:00
Konrad Borowski
1d43f3490e php: use system-sendmail
By default PHP is looking for sendmail in /usr/bin/sendmail
which isn't a correct path for NixOS.
2020-08-21 12:37:46 +02:00
Elis Hirwing
6be7d1c176
php: Drop PHP 7.2 support 2020-08-10 22:28:12 +02:00
Maximilian Bosch
db2a5bf3b9
Merge pull request #92928 from etu/php72-update
php72: 7.2.31 -> 7.2.32
2020-07-11 18:27:37 +02:00
Maximilian Bosch
f510162d69
Merge pull request #92927 from etu/php73-update
php73: 7.3.19 -> 7.3.20
2020-07-11 18:27:22 +02:00
Elis Hirwing
49316cca66
php74: 7.4.7 -> 7.4.8
Changelog: https://www.php.net/ChangeLog-7.php#7.4.8
2020-07-11 15:07:44 +02:00
Elis Hirwing
86ed3bf578
php72: 7.2.31 -> 7.2.32
Changelog: https://www.php.net/ChangeLog-7.php#7.2.32
2020-07-11 14:49:37 +02:00
Elis Hirwing
ef4f6dba94
php73: 7.3.19 -> 7.3.20
Changelog: https://www.php.net/ChangeLog-7.php#7.3.20
2020-07-11 14:46:29 +02:00
Maximilian Bosch
af064a0e12
php7{2,3}: fix darwin build
* Backported patches from `php-7.4` which fixes the env for all
  `gettext` and `zlib` tests.
* Setting `--with-libxml-dir` is still needed for versions 7.2 and 7.3.
2020-06-25 22:29:23 +02:00
Christian Kauhaus
1d805c99bd php: 7.2.29 -> 7.2.31, 7.3.16 -> 7.3.19, 7.4.6 -> 7.4.7
Point releases contain several security updates and bugfixes.

Changelog: https://www.php.net/ChangeLog-7.php#7.4.7

Fixes #88381
2020-06-25 15:41:31 +02:00
John Ericson
c1b9f86cdd php < 7.4: Fix validation of PKG_CONFIG var
They were assuming it is an absolute path, but it (conventionally) can
be something to look up on the PATH too.

Fixes #90202
2020-06-13 19:06:33 +00:00
talyz
bfdc832aef
php.buildEnv: Let enabled extensions to pass through by default
If only extraConfig is specified in buildEnv, keep the currently
enabled extensions active. Brought up in #89011.
2020-05-29 00:32:12 +02:00
Elis Hirwing
a779efcaa0
php74: 7.4.5 -> 7.4.6
Changelog: https://www.php.net/ChangeLog-7.php#7.4.6
2020-05-16 13:23:23 +02:00
Elis Hirwing
52d2e99182
php74: 7.4.4 -> 7.4.5
Changelog: https://www.php.net/ChangeLog-7.php#7.4.5
2020-05-15 22:10:03 +02:00
talyz
9f09253e52
php.buildPecl: Allow PECLs to depend on other PECLs
Some PECLs depend on other PECLs and, like internal PHP extension
dependencies, need to be loaded in the correct order. This makes this
possible by adding the argument "peclDeps" to buildPecl, which adds
the extension to buildInputs and is treated the same way as
internalDeps when the extension config is generated.
2020-05-09 23:38:21 +02:00
Luke Granger-Brown
c13df548a3 php: override outputsToInstall when using withExtensions
At the moment, using .withExtensions on a PHP derivation will
produce something which can't be used inside an
environment.systemPackages array, because outputsToInstall refers
to an output which doesn't exist on the final derivation.

Instead, override it back to just containing the single output
"out".
2020-05-06 21:44:27 +01:00
Elis Hirwing
6d5b0b13f3
php: Set maintainer team as maintainers
Also passthrough the meta of the package to have description,
homepage, license, maintainers and other metadata passed through to
the commonly used attribute.
2020-04-29 20:11:40 +02:00
talyz
2535cdfe91
php: Unify the usage of the php package in php-packages.nix
Instead of using two different php packages in php-packages.nix, one
wrapper and one unwrapped, simply use the wrapper and use its
"unwrapped" attribute when necessary. Also, get rid of the packages
and extensions attributes from the base package, since they're no
longer needed.
2020-04-29 13:59:29 +02:00
talyz
5cad1b4aff
php: Get rid of the phpXXbase attributes, update docs
Since the introduction of php.unwrapped there's no real need for the
phpXXbase attributes, so let's remove them to lessen potential
confusion and clutter. Also update the docs to make it clear how to
get hold of an unwrapped PHP if needed.
2020-04-29 13:45:48 +02:00
talyz
3bfd4e864f
php: Add passthru.tests 2020-04-29 13:45:07 +02:00
talyz
ef990961bc
php.buildEnv: Provide the unwrapped php package in php.unwrapped
This is useful if you need to access the dev output of the unwrapped
derivation.
2020-04-29 13:44:20 +02:00
talyz
c3d5d92f4a
php.buildEnv: Add phpIni attribute for easy access to the php.ini 2020-04-29 12:12:59 +02:00
talyz
d61040716e
php.buildEnv: Automatically include extension dependencies
Some extensions depend on other extensions. Previously, these had to
be added manually to the list of included extensions, or we got a
cryptic error message pointing to strings-with-deps.nix, which wasn't
very helpful. This makes sure all required extensions are included in
the set from which textClosureList chooses its snippets.
2020-04-26 16:43:29 +02:00