Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPecl, lib, php, pcre2, fetchFromGitHub }: 2 3let 4 version = "1.0.11"; 5in buildPecl { 6 inherit version; 7 pname = "pcov"; 8 9 src = fetchFromGitHub { 10 owner = "krakjoe"; 11 repo = "pcov"; 12 rev = "v${version}"; 13 sha256 = "sha256-lyY17Y9chpTO8oeWmDGSh0YSnipYqCuy1qmn9su5Eu8="; 14 }; 15 16 buildInputs = [ pcre2 ]; 17 18 meta = with lib; { 19 changelog = "https://github.com/krakjoe/pcov/releases/tag/v${version}"; 20 description = "A self contained php-code-coverage compatible driver for PHP."; 21 license = licenses.php301; 22 homepage = "https://github.com/krakjoe/pcov"; 23 maintainers = teams.php.members; 24 }; 25}