Skip to content

Commit

Permalink
Merge: PHP packages & extensions ZHF (NixOS#352945)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 authored Nov 2, 2024
2 parents 6dae61a + 8236f19 commit 520015d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 3 deletions.
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=";
};
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";
internalDeps = [ php.extensions.session ];
patches = lib.optionals (lib.versions.majorMinor php.version == "8.1") [
# Fix tests with libxml2 2.12
Expand Down

0 comments on commit 520015d

Please sign in to comment.