2022-12-25 21:01:51 +01:00
|
|
|
{ buildPecl, lib, php, pcre2, fetchFromGitHub }:
|
2020-10-11 19:19:01 +02:00
|
|
|
|
2022-12-25 21:01:51 +01:00
|
|
|
let
|
|
|
|
version = "1.0.11";
|
|
|
|
in buildPecl {
|
|
|
|
inherit version;
|
2020-10-11 19:19:01 +02:00
|
|
|
pname = "pcov";
|
|
|
|
|
2022-12-25 21:01:51 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "krakjoe";
|
|
|
|
repo = "pcov";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-lyY17Y9chpTO8oeWmDGSh0YSnipYqCuy1qmn9su5Eu8=";
|
|
|
|
};
|
2020-10-11 19:19:01 +02:00
|
|
|
|
2021-06-03 15:06:06 +02:00
|
|
|
buildInputs = [ pcre2 ];
|
2020-10-11 19:19:01 +02:00
|
|
|
|
2021-06-08 11:50:05 +02:00
|
|
|
meta = with lib; {
|
2022-12-25 21:01:51 +01:00
|
|
|
changelog = "https://github.com/krakjoe/pcov/releases/tag/v${version}";
|
2021-06-08 11:50:05 +02:00
|
|
|
description = "A self contained php-code-coverage compatible driver for PHP.";
|
|
|
|
license = licenses.php301;
|
|
|
|
homepage = "https://github.com/krakjoe/pcov";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
2020-10-11 19:19:01 +02:00
|
|
|
}
|