mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
5e4eb3caa1
So it can be automatically updated with `nix-update`
26 lines
629 B
Nix
26 lines
629 B
Nix
{ buildPecl, lib, php, pcre2, fetchFromGitHub }:
|
|
|
|
let
|
|
version = "1.0.11";
|
|
in buildPecl {
|
|
inherit version;
|
|
pname = "pcov";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "krakjoe";
|
|
repo = "pcov";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-lyY17Y9chpTO8oeWmDGSh0YSnipYqCuy1qmn9su5Eu8=";
|
|
};
|
|
|
|
buildInputs = [ pcre2 ];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/krakjoe/pcov/releases/tag/v${version}";
|
|
description = "A self contained php-code-coverage compatible driver for PHP.";
|
|
license = licenses.php301;
|
|
homepage = "https://github.com/krakjoe/pcov";
|
|
maintainers = teams.php.members;
|
|
};
|
|
}
|