at master 809 B view raw
1{ 2 buildPecl, 3 lib, 4 fetchFromGitHub, 5 zlib, 6}: 7 8let 9 version = "0.4.20"; 10in 11buildPecl { 12 inherit version; 13 pname = "spx"; 14 15 src = fetchFromGitHub { 16 owner = "NoiseByNorthwest"; 17 repo = "php-spx"; 18 rev = "v${version}"; 19 hash = "sha256-2MOl9waWY3zK5NzQ19TJKK8kE7xC4K+e9AwV+wyAHZc="; 20 }; 21 22 configureFlags = [ 23 "--with-zlib-dir=${zlib.dev}" 24 "--with-spx-assets-dir=${placeholder "out"}/share/misc/php-spx/assets/" 25 ]; 26 27 meta = { 28 changelog = "https://github.com/NoiseByNorthwest/php-spx/releases/tag/${version}"; 29 description = "Simple & straight-to-the-point PHP profiling extension with its built-in web UI"; 30 homepage = "https://github.com/NoiseByNorthwest/php-spx"; 31 license = lib.licenses.php301; 32 maintainers = with lib.maintainers; [ piotrkwiecinski ]; 33 }; 34}