34 lines
602 B
Nix
34 lines
602 B
Nix
{
|
|
buildPecl,
|
|
lib,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
let
|
|
version = "3.4.6";
|
|
in
|
|
buildPecl {
|
|
inherit version;
|
|
|
|
pname = "xdebug";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xdebug";
|
|
repo = "xdebug";
|
|
rev = version;
|
|
hash = "sha256-xld8qUCkAOWqLQjqT9wl2PN+giXtq4gu/yFHBLdmg+c=";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
zendExtension = true;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/xdebug/xdebug/releases/tag/${version}";
|
|
description = "Provides functions for function traces and profiling";
|
|
homepage = "https://xdebug.org/";
|
|
license = lib.licenses.php301;
|
|
teams = [ lib.teams.php ];
|
|
};
|
|
}
|