1{
2 lib,
3 buildPecl,
4 fetchFromGitHub,
5 nix-update-script,
6 php,
7}:
8
9let
10 version = "0.19.0";
11in
12buildPecl {
13 pname = "vld";
14 inherit version;
15
16 src = fetchFromGitHub {
17 owner = "derickr";
18 repo = "vld";
19 tag = version;
20 hash = "sha256-pQ1KIdGtV7bN5nROOJHR7C1eFMqVioTNLPAsJzH86NI=";
21 };
22
23 # Tests relies on PHP 7.0
24 doCheck = false;
25
26 passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
27
28 meta = {
29 description = "Vulcan Logic Dumper hooks into the Zend Engine and dumps all the opcodes (execution units) of a script";
30 homepage = "https://github.com/derickr/vld";
31 license = lib.licenses.bsd2;
32 maintainers = with lib.maintainers; [ gaelreyrol ];
33 broken = lib.versionOlder php.version "8.2";
34 };
35}