From b864d2dc29a043c2a9842a1c53791a29783f9413 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Sat, 3 Aug 2019 17:19:40 +0300 Subject: [PATCH] phpPackages.pthreads: 3.1.5 -> 3.2.0 --- pkgs/top-level/php-packages.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 5c7fb516859e..2d23c51398aa 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -493,13 +493,18 @@ let }; }; - pthreads = assert (pkgs.config.php.zts or false); buildPecl rec { - version = "3.1.5"; + pthreads = assert (pkgs.config.php.zts or false); assert !isPhp73; buildPecl rec { + version = "3.2.0"; pname = "pthreads"; - sha256 = "1ziap0py3zrc7qj9lw4nzq6wx1viyj8v9y1babchizzan014x6p5"; + src = pkgs.fetchFromGitHub { + owner = "krakjoe"; + repo = "pthreads"; + rev = "v${version}"; + sha256 = "17hypm75d4w7lvz96jb7s0s87018yzmmap0l125d5fd7abnhzfvv"; + }; - meta.broken = true; + buildInputs = with pkgs; [ pcre.dev ]; }; redis = buildPecl rec {