1{
2 buildPecl,
3 lib,
4 fetchFromGitHub,
5}:
6
7let
8 version = "3.4.5";
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-tJNN1GNEH3z/bsmzNMPoF6TAgOQ4EiM4QheqmhCQzM4=";
20 };
21
22 doCheck = true;
23
24 zendExtension = true;
25
26 meta = {
27 changelog = "https://github.com/xdebug/xdebug/releases/tag/${version}";
28 description = "Provides functions for function traces and profiling";
29 homepage = "https://xdebug.org/";
30 license = lib.licenses.php301;
31 teams = [ lib.teams.php ];
32 };
33}