phpExtensions.protobuf: Move to separate directory

This commit is contained in:
Elis Hirwing 2020-10-11 19:39:34 +02:00
parent 58c1014f5a
commit 63e150560b
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
2 changed files with 20 additions and 17 deletions

View File

@ -0,0 +1,19 @@
{ buildPecl, lib, pcre' }:
buildPecl {
pname = "protobuf";
version = "3.11.2";
sha256 = "0bhdykdyk58ywqj940zb7jyvrlgdr6hdb4s8kn79fz3p0i79l9hz";
buildInputs = [ pcre' ];
meta = with lib; {
description = ''
Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
'';
license = licenses.bsd3;
homepage = "https://developers.google.com/protocol-buffers/";
maintainers = teams.php.members;
};
}

View File

@ -126,23 +126,7 @@ in
pinba = callPackage ../development/php-packages/pinba { };
protobuf = buildPecl {
version = "3.11.2";
pname = "protobuf";
sha256 = "0bhdykdyk58ywqj940zb7jyvrlgdr6hdb4s8kn79fz3p0i79l9hz";
buildInputs = with pkgs; [ 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/";
maintainers = teams.php.members;
};
};
protobuf = callPackage ../development/php-packages/protobuf { };
pthreads = let
version = "3.2.0";