01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
28 lines
641 B
Nix
28 lines
641 B
Nix
{ buildPecl, lib, php }:
|
|
|
|
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
|
|
buildPecl {
|
|
pname = "xdebug";
|
|
|
|
inherit (versionData) version sha256;
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
zendExtension = true;
|
|
|
|
meta = with lib; {
|
|
description = "Provides functions for function traces and profiling";
|
|
license = licenses.php301;
|
|
homepage = "https://xdebug.org/";
|
|
maintainers = teams.php.members;
|
|
};
|
|
}
|