Loading pkgs/development/php-packages/php-spx/default.nix 0 → 100644 +32 −0 Original line number Diff line number Diff line { buildPecl, lib, fetchFromGitHub, zlib }: let version = "0.4.14"; in buildPecl { inherit version; pname = "php-spx"; src = fetchFromGitHub { owner = "NoiseByNorthwest"; repo = "php-spx"; rev = "v${version}"; hash = "sha256-LdR3ilknSUuNTAb9wfIpNGdaR3uwd4C47nZYRzfTfx8="; }; configureFlags = [ "--with-zlib-dir=${zlib.dev}" ]; preConfigure = '' substituteInPlace Makefile.frag \ --replace '$(INSTALL_ROOT)$(prefix)/share/misc/php-spx/assets/web-ui' '${placeholder "out"}/share/misc/php-spx/assets/web-ui' ''; meta = { changelog = "https://github.com/NoiseByNorthwest/php-spx/releases/tag/${version}"; description = "A simple & straight-to-the-point PHP profiling extension with its built-in web UI"; homepage = "https://github.com/NoiseByNorthwest/php-spx"; license = lib.licenses.php301; maintainers = with lib.maintainers; [ drupol ]; }; } pkgs/top-level/php-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -304,6 +304,8 @@ lib.makeScope pkgs.newScope (self: with self; { phalcon = callPackage ../development/php-packages/phalcon { }; php-spx = callPackage ../development/php-packages/php-spx { }; pinba = callPackage ../development/php-packages/pinba { }; protobuf = callPackage ../development/php-packages/protobuf { }; Loading Loading
pkgs/development/php-packages/php-spx/default.nix 0 → 100644 +32 −0 Original line number Diff line number Diff line { buildPecl, lib, fetchFromGitHub, zlib }: let version = "0.4.14"; in buildPecl { inherit version; pname = "php-spx"; src = fetchFromGitHub { owner = "NoiseByNorthwest"; repo = "php-spx"; rev = "v${version}"; hash = "sha256-LdR3ilknSUuNTAb9wfIpNGdaR3uwd4C47nZYRzfTfx8="; }; configureFlags = [ "--with-zlib-dir=${zlib.dev}" ]; preConfigure = '' substituteInPlace Makefile.frag \ --replace '$(INSTALL_ROOT)$(prefix)/share/misc/php-spx/assets/web-ui' '${placeholder "out"}/share/misc/php-spx/assets/web-ui' ''; meta = { changelog = "https://github.com/NoiseByNorthwest/php-spx/releases/tag/${version}"; description = "A simple & straight-to-the-point PHP profiling extension with its built-in web UI"; homepage = "https://github.com/NoiseByNorthwest/php-spx"; license = lib.licenses.php301; maintainers = with lib.maintainers; [ drupol ]; }; }
pkgs/top-level/php-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -304,6 +304,8 @@ lib.makeScope pkgs.newScope (self: with self; { phalcon = callPackage ../development/php-packages/phalcon { }; php-spx = callPackage ../development/php-packages/php-spx { }; pinba = callPackage ../development/php-packages/pinba { }; protobuf = callPackage ../development/php-packages/protobuf { }; Loading