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