1{
2 buildPecl,
3 lib,
4 pkg-config,
5 rrdtool,
6}:
7
8buildPecl {
9 pname = "rrd";
10
11 version = "2.0.3";
12 hash = "sha256-pCFh5YzcioU7cs/ymJidy96CsPdkVt1ZzgKFTJK3MPc=";
13
14 buildInputs = [
15 rrdtool
16 ];
17
18 nativeBuildInputs = [
19 pkg-config
20 ];
21
22 # Fix GCC 14 build.
23 # from incompatible pointer type [-Wincompatible-pointer-types
24 env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
25
26 meta = {
27 description = "PHP bindings to RRD tool system";
28 license = lib.licenses.bsd0;
29 homepage = "https://github.com/php/pecl-processing-rrd";
30 teams = [ lib.teams.wdz ];
31 };
32}