summary refs log tree commit diff
path: root/pkgs/top-level/php-packages.nix
Commit message (Collapse)AuthorAge
* Merge master into staging-nextgithub-actions[bot]2023-11-08
|\
| * phpExtensions.memprof: init at 3.0.2 (#266086)Gaël Reyrol2023-11-08
| |
* | phpExtensions.datadog_trace: switch to overrideSDKRandy Eckenrode2023-10-26
|/ | | | | Using overrideSDK allows datadog_trace to use the correct SDK frameworks even when they are propagated from curl.
* Merge pull request #261175 from NixOS/php/add-php-spx-extensionElis Hirwing2023-10-17
|\ | | | | phpExtensions.php-spx: init at 0.4.14
| * phpExtensions.php-spx: init at 0.4.14Pol Dellaiera2023-10-15
| |
* | Merge pull request #261470 from fgaz/php-opcache/optional-valgrindElis Hirwing2023-10-17
|\ \ | |/ |/| phpExtensions.opcache: use valgrind only where supported
| * phpExtensions.opcache: use valgrind only where supportedFrancesco Gazzetta2023-10-16
| | | | | | | | | | opcache is a default extension, so this fixes eval of php on platforms where valgrind is not supported, such as risc-v.
* | phpExtensions.meminfo: init at unstable-2022-03-25Pol Dellaiera2023-10-09
| |
* | phpExtensions.rrd: init at 2.0.3Jennifer Graul2023-09-25
| | | | | | | | Co-authored-by: Ember Keske <git@n0emis.eu>
* | php: add new builder `buildComposerProject`Pol Dellaiera2023-09-13
| |
* | phpExtensions.memcache: init at 8.2Paweł Krzaczkowski2023-09-11
| |
* | phpExtensions.phalcon: init at 5.3.0Paweł Krzaczkowski2023-09-08
| |
* | php: run `genfiles` for building extensions tooPol Dellaiera2023-09-08
|/
* phpPackages.castor: init at 0.8.0Gaël Reyrol2023-09-01
|
* phpExtensions.opentelemetry: init at 1.0.0beta6Gaël Reyrol2023-08-26
|
* phpExtensions.vld: init at 0.18.0Gaël Reyrol2023-08-16
|
* phpExtensions.snuffleupagus: 0.7.0 -> 0.9.0Pol Dellaiera2023-07-11
|
* phpExtensions.datadog_trace: prevent `buildPecl` to always use the same ↵Pol Dellaiera2023-07-10
| | | | version of PHP
* phpExtensions.mongodb: prevent `buildPecl` to always use the same version of PHPPol Dellaiera2023-07-10
|
* Merge pull request #242366 from NixOS/php/extension/bump-mongodb-extensionPol Dellaiera2023-07-10
|\ | | | | phpExtensions.mongodb: 1.15.0 -> 1.16.1
| * phpExtensions.mongodb: 1.15.0 -> 1.16.1Pol Dellaiera2023-07-10
| |
* | phpExtensions.datadog_trace: 0.82.0 -> 0.89.0Pol Dellaiera2023-07-10
|/
* Merge pull request #242134 from NixOS/php/extension-inotify-updatePol Dellaiera2023-07-08
|\ | | | | phpExtensions.inotify: update platforms
| * phpExtensions.inotify: update platformsPol Dellaiera2023-07-08
| | | | | | | | Follow up of https://github.com/NixOS/nixpkgs/pull/242015
* | php83: 8.3.0alpha2 -> 8.3.0alpha3Pol Dellaiera2023-07-07
|/
* phpExtensions.inotify: disable on darwinPol Dellaiera2023-07-07
| | | | The `inotify` extension is only available on Linux.
* php83: init at 8.3.0alpha2 (#239151)Pol Dellaiera2023-06-26
| | | | | | | * php83: init at 8.3.0alpha2 * phpExtensions.blackfire: disable for php 8.3 * phpExtensions.apcu: patch for 8.3 only
* php: cleanup conditions looking for PHP 8.0Thomas Gerbet2023-06-22
| | | | This was missed in 84c0cb1471eee15e77ed97e7ae1e8cdae8835c61.
* phpExtensions.uv: init at 0.3.0 (#238329)Joshua Trees2023-06-19
| | | | | | | | | | * phpExtensions.uv: init at 0.3.0 * Update pkgs/development/php-packages/uv/default.nix --------- Co-authored-by: Joshua Trees <me@jtrees.io> Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
* phpExtensions.relay: init at 0.6.3Gabriel Ostrolucký2023-05-05
|
* phpExtensions.msgpack: init at 2.2.0RC2Gabriel Ostrolucký2023-03-13
|
* phpExtensions.ssh2: init at 1.3.1Gabriel Ostrolucký2023-03-13
|
* treewide: move NIX_CFLAGS_COMPILE to the env attrsetArtturin2023-02-22
| | | | | | | | with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
* treewide: use toString on list NIX_CFLAGS_COMPILEArtturin2023-02-22
| | | | | with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper
* Merge pull request #215539 from LeSuisse/php-opcache-flaky-test-darwinElis Hirwing2023-02-10
|\ | | | | phpExtensions.opcache: remove flaky test on darwin
| * phpExtensions.opcache: remove flaky tests on darwinThomas Gerbet2023-02-09
| | | | | | | | | | Some of the tests of ext-opcache are flaky on darwin. Issue is not obvious to me and I cannot troubleshoot this locally.
* | Merge pull request #171543 from Artturin/fixrandommk1Elis Hirwing2023-02-10
|\ \ | |/ |/| phpPackages.mkDerivation: use lib.{fix,extends} instead of //
| * phpPackages.mkDerivation: use lib.{fix,extends} instead of //Artturin2023-02-08
| | | | | | | | | | | | | | // on a overrideAttrs'able works badly here we use lib.fix and lib.extends instead of overrideAttrs to have less of a performance impact
* | phpExtensions.opcache: fix test environment for darwinThomas Gerbet2023-02-06
|/
* php82: 8.2.1 -> 8.2.2Pol Dellaiera2023-02-01
|
* php.extensions.enchant: use enchant2Bobby Rong2023-01-17
| | | | | | enchant2 is supported in PHP8+. Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
* php81Extensions.opcache, php81Extensions.opcache: fix testThomas Gerbet2023-01-08
|
* Merge pull request #208084 from apeschar/phanStanisław Pitucha2022-12-30
|\ | | | | phpPackages.phan: init at 5.4.1
| * phpPackages.phan: init at 5.4.1Albert Peschar2022-12-29
| |
* | feat: add `passthru` flags in PHP extension builderPol Dellaiera2022-12-29
|/ | | | So they can be handled correctly by `nix-update` tool
* treewide: fix typosfigsoda2022-12-17
|
* Merge pull request #198470 from RaitoBezarius/nc25-opensslMaximilian Bosch2022-11-20
|\ | | | | nextcloud25: use openssl 1.1 as a PHP extension to fix RC4 encryption
| * nixos/nextcloud: fixup openssl compat changeMaximilian Bosch2022-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upon testing the change itself I realized that it doesn't build properly because * the `pname` of a php extension is `php-<name>`, not `<name>`. * calling the extension `openssl-legacy` resulted in PHP trying to compile `ext/openssl-legacy` which broke since it doesn't exist: source root is php-8.1.12 setting SOURCE_DATE_EPOCH to timestamp 1666719000 of file php-8.1.12/win32/wsyslog.c patching sources cdToExtensionRootPhase /nix/store/48mnkga4kh84xyiqwzx8v7iv090i7z66-stdenv-linux/setup: line 1399: cd: ext/openssl-legacy: No such file or directory I didn't encounter that one before because I was mostly interested in having a sane behavior for everyone not using this "feature" and the documentation around this. My findings about the behavior with turning openssl1.1 on/off are still valid because I tested this on `master` with manually replacing `openssl` by `openssl_1_1` in `php-packages.nix`. To work around the issue I had to slightly modify the extension build-system for PHP: * The attribute `extensionName` is now relevant to determine the output paths (e.g. `lib/openssl.so`). This is not a behavioral change for existing extensions because then `extensionName==name`. However when specifying `extName` in `php-packages.nix` this value is overridden and it is made sure that the extension called `extName` NOT `name` (i.e. `openssl` vs `openssl-legacy`) is built and installed. The `name` still has to be kept to keep the legacy openssl available as `php.extensions.openssl-legacy`. Additionally I implemented a small VM test to check the behavior with server-side encryption: * For `stateVersion` below 22.11, OpenSSL 1.1 is used (in `basic.nix` it's checked that OpenSSL 3 is used). With that the "default" behavior of the module is checked. * It is ensured that the PHP interpreter for Nextcloud's php-fpm actually loads the correct openssl extension. * It is tested that (encrypted) files remain usable when (temporarily) installing OpenSSL3 (of course then they're not decryptable, but on a rollback that should still be possible). Finally, a few more documentation changes: * I also mentioned the issue in `nextcloud.xml` to make sure the issue is at least mentioned in the manual section about Nextcloud. Not too much detail here, but the relevant option `enableBrokenCiphersForSSE` is referenced. * I fixed a few minor wording issues to also give the full context (we're talking about Nextcloud; we're talking about the PHP extension **only**; please check if you really need this even though it's enabled by default). This is because I felt that sometimes it might be hard to understand what's going on when e.g. an eval-warning appears without telling where exactly it comes from.
| * nextcloud25: use openssl 1.1 as a PHP extension to fix RC4 encryptionRaito Bezarius2022-11-10
| |
* | php.packages: Add back meta attributesElis Hirwing2022-11-12
|/