3
0
Fork 0
forked from mirrors/nixpkgs

php.extensions.protobuf: 3.14.0 -> 3.17.2

This commit is contained in:
Elis Hirwing 2021-06-08 12:50:40 +02:00
parent 867a4d38d7
commit c79d977ca1
No known key found for this signature in database
GPG key ID: D57EFA625C9A925F

View file

@ -1,30 +1,13 @@
{ buildPecl, lib, pcre2, fetchpatch }:
{ buildPecl, lib, pcre2 }:
buildPecl {
pname = "protobuf";
version = "3.14.0";
sha256 = "1ldc4s28hq61cfg8l4c06pgicj0ng7k37f28a0dnnbs7xkr7cibd";
version = "3.17.2";
sha256 = "0i4npj4sl8ihkzxc6m3vv3nlqk952z9bfwnrk90a9yakw5gfhlz5";
buildInputs = [ pcre2 ];
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.