2021-06-28 23:13:55 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPecl
|
|
|
|
, lib
|
|
|
|
, pcre2
|
|
|
|
, pkg-config
|
|
|
|
, cyrus_sasl
|
|
|
|
, icu64
|
|
|
|
, openssl
|
|
|
|
, snappy
|
|
|
|
, zlib
|
|
|
|
, darwin
|
|
|
|
}:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "mongodb";
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "1.14.2";
|
|
|
|
sha256 = "1amayawrkyl1f44b8qwvm9567nxxfpv12pkn65adgjbwk5ds6z3g";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
2020-10-16 20:44:37 +00:00
|
|
|
cyrus_sasl
|
|
|
|
icu64
|
|
|
|
openssl
|
|
|
|
snappy
|
|
|
|
zlib
|
2021-06-06 07:54:09 +00:00
|
|
|
pcre2
|
2021-03-09 03:18:52 +00:00
|
|
|
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "MongoDB driver for PHP";
|
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = "https://docs.mongodb.com/drivers/php/";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
}
|