1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

php.extensions.pthreads: Reintroduce pthreads for php72 and php73

This commit is contained in:
Elis Hirwing 2020-04-05 15:28:21 +02:00 committed by talyz
parent 102aac631b
commit 8d2e5d5cd6
No known key found for this signature in database
GPG key ID: 2DED2151F4671A2B

View file

@ -621,6 +621,27 @@ in
};
};
pthreads = let
version = "3.2.0";
src = pkgs.fetchFromGitHub ({
owner = "krakjoe";
repo = "pthreads";
} // (if (isPhp73) then {
rev = "4d1c2483ceb459ea4284db4eb06646d5715e7154";
sha256 = "07kdxypy0bgggrfav2h1ccbv67lllbvpa3s3zsaqci0gq4fyi830";
} else {
rev = "v3.2.0";
sha256 = "17hypm75d4w7lvz96jb7s0s87018yzmmap0l125d5fd7abnhzfvv";
}));
in buildPecl {
pname = "pthreads";
inherit version src;
buildInputs = [ pcre'.dev ];
meta.broken = isPhp74;
};
redis = buildPecl {
version = "5.1.1";
pname = "redis";