8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
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.13.0";
|
|
sha256 = "sha256-IoZbYdJkyQyeqoXZTy9fV+VkFAyth8jCYB+jP4Dv4Ls=";
|
|
|
|
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;
|
|
};
|
|
}
|