2023-01-11 07:51:40 +00:00
|
|
|
{ buildPecl, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
let
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "3.2.1";
|
2023-01-11 07:51:40 +00:00
|
|
|
in buildPecl {
|
|
|
|
inherit version;
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
pname = "xdebug";
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xdebug";
|
|
|
|
repo = "xdebug";
|
|
|
|
rev = version;
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-WKvMnn8yp6JBFu7xzPOt6sdg5JE8SRniLZbSBvi3ecQ=";
|
2023-01-11 07:51:40 +00:00
|
|
|
};
|
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; {
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/xdebug/xdebug/releases/tag/${version}";
|
2021-06-28 23:13:55 +00:00
|
|
|
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
|
|
|
}
|