mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
php84.extensions.pcov: fix build
This commit is contained in:
parent
635c7ea329
commit
15559ac221
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user