nixpkgs/pkgs/development/php-packages/mongodb/default.nix
Vladimír Čunát d2b35b0fc6
php-packages/mongodb: fix evaluation on darwin
Regressed in 5ad7fb28 (PR #114551).
It was a channel blocker, through the tarball job:
https://hydra.nixos.org/build/137987705
2021-02-27 18:46:14 +01:00

22 lines
466 B
Nix

{ stdenv, buildPecl, lib, pcre', pkg-config, cyrus_sasl, icu64
, openssl, snappy, zlib, darwin }:
buildPecl {
pname = "mongodb";
version = "1.9.0";
sha256 = "16mbw3p80qxsj86nmjbfch8wv6jaq8wbz4rlpmixvhj9nwbp37hs";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
cyrus_sasl
icu64
openssl
snappy
zlib
pcre'
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
meta.maintainers = lib.teams.php.members;
}