php.extensions.protobuf: 3.14.0 -> 3.17.2

(cherry picked from commit c79d977ca15016d3aafab6633b178ad042e696c2)
This commit is contained in:
Elis Hirwing 2021-06-08 12:50:40 +02:00
parent 460f69e000
commit 64867ce1b9
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
1 changed files with 3 additions and 20 deletions

View File

@ -1,30 +1,13 @@
{ buildPecl, lib, pcre', fetchpatch }:
{ buildPecl, lib, pcre' }:
buildPecl {
pname = "protobuf";
version = "3.14.0";
sha256 = "1ldc4s28hq61cfg8l4c06pgicj0ng7k37f28a0dnnbs7xkr7cibd";
version = "3.17.2";
sha256 = "0i4npj4sl8ihkzxc6m3vv3nlqk952z9bfwnrk90a9yakw5gfhlz5";
buildInputs = [ pcre' ];
patches = [
# TODO: remove with next update
(fetchpatch {
url = "https://github.com/protocolbuffers/protobuf/commit/823f351448f7c432bed40b89ee3309e0a94c1855.patch";
sha256 = "sha256-ozHtO8s9zvmh/+wBEge3Yn3n0pbpR3dAojJcuAg/G3s=";
stripLen = 4;
includes = [
"array.c"
"def.c"
"map.c"
"message.c"
"protobuf.h"
"wkt.inc"
];
})
];
meta = with lib; {
description = ''
Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.