29 lines
629 B
Nix
29 lines
629 B
Nix
{ buildPecl, lib, fetchFromGitHub }:
|
|
|
|
let
|
|
version = "3.3.1";
|
|
in buildPecl {
|
|
inherit version;
|
|
|
|
pname = "xdebug";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xdebug";
|
|
repo = "xdebug";
|
|
rev = version;
|
|
hash = "sha256-Zt1BIqNKsTHtIXy0Dar52sZxLi5k12LQAbxOLKQPMN8=";
|
|
};
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
zendExtension = true;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/xdebug/xdebug/releases/tag/${version}";
|
|
description = "Provides functions for function traces and profiling";
|
|
homepage = "https://xdebug.org/";
|
|
license = lib.licenses.php301;
|
|
maintainers = lib.teams.php.members;
|
|
};
|
|
}
|