From 0962aa7d544e7bf6d5e1788c640a67bc2905fbf8 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Mon, 13 May 2019 22:55:49 +0300 Subject: [PATCH] phpPackages.protobuf: init at 3.7.1 --- pkgs/top-level/php-packages.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index e1e60b6a5d19..7f6db1401086 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -444,6 +444,23 @@ let }; }; + protobuf = buildPecl rec { + version = "3.7.1"; + pname = "protobuf"; + + sha256 = "0fbf29851dpgjfdgi6i1dgy047dfiazm6qh943w22zbj35l7g2yc"; + + buildInputs = with pkgs; [ (if isPhp73 then pcre2 else pcre) ]; + + meta = with pkgs.lib; { + description = '' + Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. + ''; + license = licenses.bsd3; + homepage = "https://developers.google.com/protocol-buffers/"; + }; + }; + psysh = mkDerivation rec { version = "0.9.9"; pname = "psysh";