From a47d2b3dde1133e0917b5154ce6ee2bdfc0fc4f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Ostroluck=C3=BD?= Date: Sun, 12 Mar 2023 11:52:22 +0100 Subject: [PATCH] phpExtensions.msgpack: init at 2.2.0RC2 --- .../development/php-packages/msgpack/default.nix | 16 ++++++++++++++++ pkgs/top-level/php-packages.nix | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/php-packages/msgpack/default.nix diff --git a/pkgs/development/php-packages/msgpack/default.nix b/pkgs/development/php-packages/msgpack/default.nix new file mode 100644 index 000000000000..282fefa94780 --- /dev/null +++ b/pkgs/development/php-packages/msgpack/default.nix @@ -0,0 +1,16 @@ +{ buildPecl, lib }: + +buildPecl rec { + version = "2.2.0RC2"; + pname = "msgpack"; + + sha256 = "sha256-bVV043knbk7rionXqB70RKa1zlJ5K/Nw0oTXZllmJOg="; + + meta = with lib; { + changelog = "https://pecl.php.net/package-info.php?package=msgpack&version=${version}"; + description = "PHP extension for interfacing with MessagePack"; + license = licenses.bsd3; + homepage = "https://github.com/msgpack/msgpack-php"; + maintainers = teams.php.members ++ [ maintainers.ostrolucky ]; + }; +} diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 5f9b163adab8..af4f288bb7e7 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -244,6 +244,8 @@ lib.makeScope pkgs.newScope (self: with self; { mongodb = callPackage ../development/php-packages/mongodb { }; + msgpack = callPackage ../development/php-packages/msgpack { }; + oci8 = callPackage ../development/php-packages/oci8 { }; openswoole = callPackage ../development/php-packages/openswoole { };