Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPecl, lib, fetchFromGitHub }: 2 3let 4 version = "3.2.2"; 5in buildPecl { 6 inherit version; 7 8 pname = "xdebug"; 9 10 src = fetchFromGitHub { 11 owner = "xdebug"; 12 repo = "xdebug"; 13 rev = version; 14 hash = "sha256-zbgJw2oPzyUTK0UwLAqpShBi+toVsEQcjoG4tIBder0="; 15 }; 16 17 doCheck = true; 18 checkTarget = "test"; 19 20 zendExtension = true; 21 22 meta = { 23 changelog = "https://github.com/xdebug/xdebug/releases/tag/${version}"; 24 description = "Provides functions for function traces and profiling"; 25 homepage = "https://xdebug.org/"; 26 license = lib.licenses.php301; 27 maintainers = lib.teams.php.members; 28 }; 29}