36 lines
772 B
Nix
36 lines
772 B
Nix
{
|
|
lib,
|
|
buildPecl,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
php,
|
|
}:
|
|
|
|
let
|
|
version = "0.19.0";
|
|
in
|
|
buildPecl {
|
|
pname = "vld";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "derickr";
|
|
repo = "vld";
|
|
tag = version;
|
|
hash = "sha256-pQ1KIdGtV7bN5nROOJHR7C1eFMqVioTNLPAsJzH86NI=";
|
|
};
|
|
|
|
# Tests relies on PHP 7.0
|
|
doCheck = false;
|
|
|
|
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
|
|
|
meta = {
|
|
description = "Vulcan Logic Dumper hooks into the Zend Engine and dumps all the opcodes (execution units) of a script";
|
|
homepage = "https://github.com/derickr/vld";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ gaelreyrol ];
|
|
broken = lib.versionOlder php.version "8.2";
|
|
};
|
|
}
|