phpExtensions.mongodb: Move to separate directory
This commit is contained in:
parent
77224fd8e7
commit
4cae064b2c
20
pkgs/development/php-packages/mongodb/default.nix
Normal file
20
pkgs/development/php-packages/mongodb/default.nix
Normal 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;
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue