diff --git a/pkgs/development/php-packages/pcov/default.nix b/pkgs/development/php-packages/pcov/default.nix new file mode 100644 index 000000000000..84fbc4f7a469 --- /dev/null +++ b/pkgs/development/php-packages/pcov/default.nix @@ -0,0 +1,12 @@ +{ buildPecl, lib, pcre' }: + +buildPecl { + pname = "pcov"; + + version = "1.0.6"; + sha256 = "1psfwscrc025z8mziq69pcx60k4fbkqa5g2ia8lplb94mmarj0v1"; + + buildInputs = [ pcre' ]; + + meta.maintainers = lib.teams.php.members; +} diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 3b8efa0f27d0..7db70aa10542 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -88,16 +88,7 @@ in oci8 = callPackage ../development/php-packages/oci8 { }; - pcov = buildPecl { - version = "1.0.6"; - pname = "pcov"; - - sha256 = "1psfwscrc025z8mziq69pcx60k4fbkqa5g2ia8lplb94mmarj0v1"; - - buildInputs = [ pcre' ]; - - meta.maintainers = lib.teams.php.members; - }; + pcov = callPackage ../development/php-packages/pcov { }; pcs = buildPecl { version = "1.3.3";