2022-11-21 17:40:18 +00:00
|
|
|
{ buildPecl, lib, php }:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
let
|
|
|
|
versionData = if (lib.versionOlder php.version "8.1") then {
|
|
|
|
version = "3.1.6";
|
|
|
|
sha256 = "1lnmrb5kgq8lbhjs48j3wwhqgk44pnqb1yjq4b5r6ysv9l5wlkjm";
|
|
|
|
} else {
|
|
|
|
version = "3.2.0RC2";
|
|
|
|
sha256 = "dQgXDP3Ifg+D0niWxaJ4ec71Vfr8KH40jv6QbxSyY+4=";
|
|
|
|
};
|
|
|
|
in
|
2020-10-16 20:44:37 +00:00
|
|
|
buildPecl {
|
|
|
|
pname = "xdebug";
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
inherit (versionData) version sha256;
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
zendExtension = true;
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Provides functions for function traces and profiling";
|
|
|
|
license = licenses.php301;
|
|
|
|
homepage = "https://xdebug.org/";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
}
|