php84.extensions.pcov: fix build

This commit is contained in:
Soner Sayakci 2024-10-03 16:54:11 +02:00
parent 635c7ea329
commit 15559ac221
No known key found for this signature in database

View File

@ -4,6 +4,7 @@
php,
pcre2,
fetchFromGitHub,
fetchpatch,
}:
let
@ -22,6 +23,14 @@ buildPecl {
buildInputs = [ pcre2 ];
patches = [
# Allow building for PHP 8.4
(fetchpatch {
url = "https://github.com/krakjoe/pcov/commit/7d764c7c2555e8287351961d72be3ebec4d8743f.patch";
sha256 = "sha256-5wIHrrCwUXQpPdUg+3Kwyop5yvOzQQ3qc4pQXU8q2OM=";
})
];
meta = with lib; {
changelog = "https://github.com/krakjoe/pcov/releases/tag/v${version}";
description = "Self contained php-code-coverage compatible driver for PHP";