74492c8629
GitOrigin-RevId: cb372c3b8880e504b06946e8fb2ca9777c685505
36 lines
624 B
Nix
36 lines
624 B
Nix
{ stdenv
|
|
, buildPecl
|
|
, lib
|
|
, pcre2
|
|
, pkg-config
|
|
, cyrus_sasl
|
|
, icu64
|
|
, openssl
|
|
, snappy
|
|
, zlib
|
|
, darwin
|
|
}:
|
|
|
|
buildPecl {
|
|
pname = "mongodb";
|
|
|
|
version = "1.12.0";
|
|
sha256 = "sha256-DZ9nCwISiLtsmwYJefGR8dp3PXKRAGcxZvOLYX4kMX4=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
cyrus_sasl
|
|
icu64
|
|
openssl
|
|
snappy
|
|
zlib
|
|
pcre2
|
|
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
|
|
|
meta = with lib; {
|
|
description = "MongoDB driver for PHP";
|
|
license = licenses.asl20;
|
|
homepage = "https://docs.mongodb.com/drivers/php/";
|
|
maintainers = teams.php.members;
|
|
};
|
|
}
|