blob: f5839e9663e99defa717464c8e38633d49e140b2 (
plain) (
blame)
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
|
{
buildPecl,
lib,
fetchFromGitHub,
judy,
}:
let
version = "3.0.2";
in
buildPecl {
inherit version;
pname = "memprof";
src = fetchFromGitHub {
owner = "arnaud-lb";
repo = "php-memory-profiler";
rev = version;
hash = "sha256-K8YcvCobErBkaWFTkVGLXXguQPOLIgQuRGWJF+HAIRA=";
};
configureFlags = [ "--with-judy-dir=${judy}" ];
doCheck = true;
meta = {
changelog = "https://github.com/arnaud-lb/php-memory-profiler/releases/tag/${version}";
description = "Memory profiler for PHP. Helps finding memory leaks in PHP scripts";
homepage = "https://github.com/arnaud-lb/php-memory-profiler";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ gaelreyrol ];
};
}
|