nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 749 B view raw
1{ 2 buildPecl, 3 lib, 4 fetchFromGitHub, 5 judy, 6}: 7 8let 9 version = "3.1.0"; 10in 11buildPecl { 12 inherit version; 13 pname = "memprof"; 14 15 src = fetchFromGitHub { 16 owner = "arnaud-lb"; 17 repo = "php-memory-profiler"; 18 rev = version; 19 hash = "sha256-gq+txAU2Fw+Zm1aIu0lwPUHRqtccNcHFpp0fm3f7BnQ="; 20 }; 21 22 buildInputs = [ 23 judy 24 ]; 25 configureFlags = [ 26 "--with-judy-dir=${lib.getDev judy}" 27 ]; 28 29 doCheck = true; 30 31 meta = { 32 changelog = "https://github.com/arnaud-lb/php-memory-profiler/releases/tag/${version}"; 33 description = "Memory profiler for PHP. Helps finding memory leaks in PHP scripts"; 34 homepage = "https://github.com/arnaud-lb/php-memory-profiler"; 35 license = lib.licenses.mit; 36 maintainers = [ ]; 37 }; 38}