Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP packages & extensions ZHF #352945

Merged
merged 7 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkgs/development/php-packages/couchbase/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
libcouchbase,
zlib,
substituteAll,
php,
}:
let
pname = "couchbase";
Expand Down Expand Up @@ -40,5 +41,6 @@ buildPecl {
license = licenses.asl20;
homepage = "https://docs.couchbase.com/php-sdk/current/project-docs/sdk-release-notes.html";
maintainers = teams.php.members;
broken = lib.versionAtLeast php.version "8.3";
};
}
2 changes: 2 additions & 0 deletions pkgs/development/php-packages/openswoole/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
valgrind,
pcre2,
fetchFromGitHub,
php,
}:

let
Expand Down Expand Up @@ -34,5 +35,6 @@ buildPecl {
You can use the sync or async, Coroutine API to write whole applications or create thousands of light weight Coroutines within one Linux process.
'';
maintainers = teams.php.members;
broken = lib.versionAtLeast php.version "8.4";
};
}
1 change: 1 addition & 0 deletions pkgs/development/php-packages/phalcon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ buildPecl rec {
license = licenses.bsd3;
homepage = "https://phalcon.io";
maintainers = teams.php.members ++ [ maintainers.krzaczek ];
broken = lib.versionAtLeast php.version "8.4";
};
}
4 changes: 2 additions & 2 deletions pkgs/development/php-packages/psysh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let
composerLock = fetchurl {
name = "composer.lock";
url = "https://github.com/bobthecow/psysh/releases/download/v${version}/composer-v${version}.lock";
hash = "sha256-ur6mzla3uXeFL6aEHAPdpxGdvcgzOgTLW/CKPbNqeCg=";
hash = "sha256-PQDWShzvTY8yF+OUPVJAV0HMx0/KnA03TDhZUM7ppXw=";
Ma27 marked this conversation as resolved.
Show resolved Hide resolved
};
in
php.buildComposerProject2 (finalAttrs: {
Expand All @@ -45,7 +45,7 @@ php.buildComposerProject2 (finalAttrs: {
composer update --lock --no-install
'';

vendorHash = "sha256-mW276lzOTCY68EnvSVR+tD+gh3Y61GrWchVJHDZ4dpg=";
vendorHash = "sha256-tKy2A3dGGmZZzZF0JxtG6NYMfG/paQsuxAO1y3GfCsA=";
};

meta = {
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/php-packages/swoole/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ buildPecl {
homepage = "https://www.swoole.com";
license = lib.licenses.asl20;
maintainers = lib.teams.php.members;
broken = lib.versionAtLeast php.version "8.4";
};
}
2 changes: 2 additions & 0 deletions pkgs/development/php-packages/xdebug/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
buildPecl,
lib,
php,
fetchFromGitHub,
}:

Expand Down Expand Up @@ -29,5 +30,6 @@ buildPecl {
homepage = "https://xdebug.org/";
license = lib.licenses.php301;
maintainers = lib.teams.php.members;
broken = lib.versionAtLeast php.version "8.4";
};
}
2 changes: 1 addition & 1 deletion pkgs/top-level/php-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ in {
# Some tests are causing issues in the Darwin sandbox with issues
# such as
# Unknown: php_network_getaddresses: getaddrinfo for localhost failed: nodename nor servname provided
doCheck = !stdenv.hostPlatform.isDarwin;
doCheck = !stdenv.hostPlatform.isDarwin && lib.versionOlder php.version "8.4";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the commit message for the rationale. If somebody has a better solution, I'm all for it.

internalDeps = [ php.extensions.session ];
patches = lib.optionals (lib.versions.majorMinor php.version == "8.1") [
# Fix tests with libxml2 2.12
Expand Down