1{
2 buildPecl,
3 lib,
4 fetchFromGitHub,
5}:
6
7let
8 version = "3.3.2";
9in
10buildPecl {
11 inherit version;
12
13 pname = "xdebug";
14
15 src = fetchFromGitHub {
16 owner = "xdebug";
17 repo = "xdebug";
18 rev = version;
19 hash = "sha256-3Hj/6pFLwJkVfsUIkX9lP8cOa1cVjobqHZd/cnH0TaU=";
20 };
21
22 doCheck = true;
23 checkTarget = "test";
24
25 zendExtension = true;
26
27 meta = {
28 changelog = "https://github.com/xdebug/xdebug/releases/tag/${version}";
29 description = "Provides functions for function traces and profiling";
30 homepage = "https://xdebug.org/";
31 license = lib.licenses.php301;
32 maintainers = lib.teams.php.members;
33 };
34}