nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildPecl,
3 lib,
4 pcre2,
5 fetchFromGitHub,
6 fetchpatch,
7}:
8
9let
10 version = "1.0.12";
11in
12buildPecl {
13 inherit version;
14 pname = "pcov";
15
16 src = fetchFromGitHub {
17 owner = "krakjoe";
18 repo = "pcov";
19 tag = "v${version}";
20 hash = "sha256-yz+c1FrjGJAUgnu+azvebqoAN3I/GXLeAlKobNdDiHI=";
21 };
22
23 buildInputs = [ pcre2 ];
24
25 meta = {
26 changelog = "https://github.com/krakjoe/pcov/releases/tag/v${version}";
27 description = "Self contained php-code-coverage compatible driver for PHP";
28 license = lib.licenses.php301;
29 homepage = "https://github.com/krakjoe/pcov";
30 teams = [ lib.teams.php ];
31 };
32}