summaryrefslogtreecommitdiff
path: root/pkgs/development/php-packages/vld/default.nix
blob: 5b120f95f2aa8d60142f501f0a51d7f73d68e316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPecl,
  fetchFromGitHub,
  nix-update-script,
  php,
}:

let
  version = "0.19.1";
in
buildPecl {
  pname = "vld";
  inherit version;

  src = fetchFromGitHub {
    owner = "derickr";
    repo = "vld";
    tag = version;
    hash = "sha256-fNmDH5jUwwYYgIpDSvb+NVcg+q97QzKCcx1uaMBwDrs=";
  };

  # 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 = [ ];
    broken = lib.versionOlder php.version "8.2";
  };
}