From 938bfe28acdd5dd6fa8706d7860a7caf8dad9eb4 Mon Sep 17 00:00:00 2001 From: Jennifer Graul Date: Mon, 25 Sep 2023 13:03:43 +0200 Subject: [PATCH] phpExtensions.rrd: init at 2.0.3 Co-authored-by: Ember Keske --- pkgs/development/php-packages/rrd/default.nix | 17 +++++++++++++++++ pkgs/top-level/php-packages.nix | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 pkgs/development/php-packages/rrd/default.nix diff --git a/pkgs/development/php-packages/rrd/default.nix b/pkgs/development/php-packages/rrd/default.nix new file mode 100644 index 0000000000000..a89f9a3b71b16 --- /dev/null +++ b/pkgs/development/php-packages/rrd/default.nix @@ -0,0 +1,17 @@ +{ buildPecl, lib, pkg-config, rrdtool }: + +buildPecl { + pname = "rrd"; + + version = "2.0.3"; + hash = "sha256-pCFh5YzcioU7cs/ymJidy96CsPdkVt1ZzgKFTJK3MPc="; + + nativeBuildInputs = [ pkg-config rrdtool ]; + + meta = { + description = "PHP bindings to RRD tool system"; + license = lib.licenses.bsd0; + homepage = "https://github.com/php/pecl-processing-rrd"; + maintainers = lib.teams.wdz.members; + }; +} diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index aad260fc3c004..e1f62aa37313a 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -312,6 +312,8 @@ lib.makeScope pkgs.newScope (self: with self; { relay = callPackage ../development/php-packages/relay { inherit php; }; + rrd = callPackage ../development/php-packages/rrd { }; + smbclient = callPackage ../development/php-packages/smbclient { }; snuffleupagus = callPackage ../development/php-packages/snuffleupagus {