phpExtensions.mongodb: Move to separate directory

This commit is contained in:
Elis Hirwing 2020-10-11 19:14:22 +02:00
parent 77224fd8e7
commit 4cae064b2c
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
2 changed files with 21 additions and 18 deletions

View File

@ -0,0 +1,20 @@
{ buildPecl, lib, pkgs, pcre' }:
buildPecl {
pname = "mongodb";
version = "1.6.1";
sha256 = "1j1w4n33347j9kwvxwsrix3gvjbiqcn1s5v59pp64s536cci8q0m";
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = with pkgs; [
cyrus_sasl
icu64
openssl
snappy
zlib
pcre'
] ++ lib.optional (pkgs.stdenv.isDarwin) pkgs.darwin.apple_sdk.frameworks.Security;
meta.maintainers = lib.teams.php.members;
}

View File

@ -84,24 +84,7 @@ in
memcached = callPackage ../development/php-packages/memcached { };
mongodb = buildPecl {
pname = "mongodb";
version = "1.6.1";
sha256 = "1j1w4n33347j9kwvxwsrix3gvjbiqcn1s5v59pp64s536cci8q0m";
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = with pkgs; [
cyrus_sasl
icu64
openssl
snappy
zlib
pcre'
] ++ lib.optional (pkgs.stdenv.isDarwin) pkgs.darwin.apple_sdk.frameworks.Security;
meta.maintainers = lib.teams.php.members;
};
mongodb = callPackage ../development/php-packages/mongodb { };
oci8 = buildPecl {
version = "2.2.0";