nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 850 B view raw
1{ 2 buildPecl, 3 lib, 4 pkg-config, 5 rrdtool, 6 fetchpatch, 7}: 8 9buildPecl { 10 pname = "rrd"; 11 12 version = "2.0.3"; 13 hash = "sha256-pCFh5YzcioU7cs/ymJidy96CsPdkVt1ZzgKFTJK3MPc="; 14 15 buildInputs = [ 16 rrdtool 17 ]; 18 19 nativeBuildInputs = [ 20 pkg-config 21 ]; 22 23 patches = [ 24 # PHP 8.5 compatibility patch 25 (fetchpatch { 26 url = "https://github.com/php/pecl-processing-rrd/pull/4/commits/dd4856dc89499a0141b1710e791f0e1096c7b244.patch"; 27 hash = "sha256-ES+cMhMBUubFB5TpTZzzKKfEK2cY737z7zCuNy4XF8Y="; 28 }) 29 ]; 30 31 # Fix GCC 14 build. 32 # from incompatible pointer type [-Wincompatible-pointer-types 33 env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types"; 34 35 meta = { 36 description = "PHP bindings to RRD tool system"; 37 license = lib.licenses.bsd0; 38 homepage = "https://github.com/php/pecl-processing-rrd"; 39 }; 40}