php.extensions.pcov: update src
attribute
So it can be automatically updated with `nix-update`
This commit is contained in:
parent
9501edfefb
commit
5e4eb3caa1
1 changed files with 12 additions and 4 deletions
|
@ -1,14 +1,22 @@
|
|||
{ buildPecl, lib, pcre2 }:
|
||||
{ buildPecl, lib, php, pcre2, fetchFromGitHub }:
|
||||
|
||||
buildPecl {
|
||||
let
|
||||
version = "1.0.11";
|
||||
in buildPecl {
|
||||
inherit version;
|
||||
pname = "pcov";
|
||||
|
||||
version = "1.0.11";
|
||||
sha256 = "sha256-rSLmTNOvBlMwGCrBQsHDq0Dek0SCzUAPi9dgZBMKwkI=";
|
||||
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";
|
||||
|
|
Loading…
Reference in a new issue