2021-06-26 07:46:46 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPecl
|
|
|
|
, lib
|
|
|
|
, pcre2
|
|
|
|
, pkg-config
|
|
|
|
, cyrus_sasl
|
|
|
|
, icu64
|
|
|
|
, openssl
|
|
|
|
, snappy
|
|
|
|
, zlib
|
|
|
|
, darwin
|
|
|
|
}:
|
2020-10-11 17:14:22 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "mongodb";
|
|
|
|
|
2022-09-23 02:01:20 +00:00
|
|
|
version = "1.14.1";
|
|
|
|
sha256 = "sha256-uuKodv3ME9bNATn7Wyrv1RydXISmpPxTvr2+PxYtg14=";
|
2020-10-11 17:14:22 +00:00
|
|
|
|
2021-02-27 10:29:20 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
2020-10-11 17:14:22 +00:00
|
|
|
cyrus_sasl
|
|
|
|
icu64
|
|
|
|
openssl
|
|
|
|
snappy
|
|
|
|
zlib
|
2021-06-03 13:06:06 +00:00
|
|
|
pcre2
|
2021-02-27 17:43:22 +00:00
|
|
|
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
2020-10-11 17:14:22 +00:00
|
|
|
|
2021-06-08 09:50:05 +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-11 17:14:22 +00:00
|
|
|
}
|