summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2020-04-05 14:57:33 +0200
committertalyz <kim.lindberger@gmail.com>2020-04-05 16:46:11 +0200
commit102aac631b3db59a228ce8e7a309bcf1a7f9e995 (patch)
tree1f56dd21463c87a06dfa25e42407be2cfd7feada
parentb5c59cebc6194684545fcd9c272d91d9af6ec8e9 (diff)
php.extensions.pinba: Reintroduce pinba for php72, php73 and php74
-rw-r--r--pkgs/top-level/php-packages.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix
index b6e8c6be2e8a..d502bc03c5f6 100644
--- a/pkgs/top-level/php-packages.nix
+++ b/pkgs/top-level/php-packages.nix
@@ -578,6 +578,32 @@ in
configureFlags = [ "--with-excel" "--with-libxl-incdir=${pkgs.libxl}/include_c" "--with-libxl-libdir=${pkgs.libxl}/lib" ];
};
+ pinba = let
+ version = if isPhp73 then "1.1.2-dev" else "1.1.1";
+ src = pkgs.fetchFromGitHub ({
+ owner = "tony2001";
+ repo = "pinba_extension";
+ } // (if (isPhp73) then {
+ rev = "edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e";
+ sha256 = "02sljqm6griw8ccqavl23f7w1hp2zflcv24lpf00k6pyrn9cwx80";
+ } else {
+ rev = "RELEASE_1_1_1";
+ sha256 = "1kdp7vav0y315695vhm3xifgsh6h6y6pny70xw3iai461n58khj5";
+ }));
+ in buildPecl {
+ pname = "pinba";
+ inherit version src;
+
+ meta = with pkgs.lib; {
+ description = "PHP extension for Pinba";
+ longDescription = ''
+ Pinba is a MySQL storage engine that acts as a realtime monitoring and
+ statistics server for PHP using MySQL as a read-only interface.
+ '';
+ homepage = "http://pinba.org/";
+ };
+ };
+
protobuf = buildPecl {
version = "3.11.2";
pname = "protobuf";