1{ buildPecl, lib, fetchFromGitHub }:
2
3buildPecl rec {
4 pname = "pinba";
5 version = "1.1.2";
6
7 src = fetchFromGitHub {
8 owner = "tony2001";
9 repo = "pinba_extension";
10 rev = "RELEASE_${lib.replaceStrings ["."] ["_"] version}";
11 sha256 = "0wqcqq6sb51wiawa37hbd1h9dbvmyyndzdvz87xqji7lpr9vn8jy";
12 };
13
14 meta = with lib; {
15 description = "PHP extension for Pinba";
16 longDescription = ''
17 Pinba is a MySQL storage engine that acts as a realtime monitoring and
18 statistics server for PHP using MySQL as a read-only interface.
19 '';
20 license = licenses.lgpl2Plus;
21 homepage = "http://pinba.org/";
22 maintainers = teams.php.members;
23 };
24}