summary refs log tree commit diff
path: root/pkgs/development/php-packages/mongodb
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2021-02-27 11:29:20 +0100
committerElis Hirwing <elis@hirwing.se>2021-02-27 11:29:20 +0100
commit5ad7fb28f6a8732eee23fa33d47fa25444ff3837 (patch)
treeb6df1f61803a1748061cecf32170e3784dfb6dc3 /pkgs/development/php-packages/mongodb
parentd8fb9d8222b7fa83bc05dd9ba34881d8cc446f3a (diff)
downloadnixpkgs-5ad7fb28f6a8732eee23fa33d47fa25444ff3837.tar
nixpkgs-5ad7fb28f6a8732eee23fa33d47fa25444ff3837.tar.gz
nixpkgs-5ad7fb28f6a8732eee23fa33d47fa25444ff3837.tar.bz2
nixpkgs-5ad7fb28f6a8732eee23fa33d47fa25444ff3837.tar.lz
nixpkgs-5ad7fb28f6a8732eee23fa33d47fa25444ff3837.tar.xz
nixpkgs-5ad7fb28f6a8732eee23fa33d47fa25444ff3837.tar.zst
nixpkgs-5ad7fb28f6a8732eee23fa33d47fa25444ff3837.zip
treewide/php-packages: Drop pkgs from arguments to packages
Diffstat (limited to 'pkgs/development/php-packages/mongodb')
-rw-r--r--pkgs/development/php-packages/mongodb/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/php-packages/mongodb/default.nix b/pkgs/development/php-packages/mongodb/default.nix
index 18bb515d15e..fd793ff6024 100644
--- a/pkgs/development/php-packages/mongodb/default.nix
+++ b/pkgs/development/php-packages/mongodb/default.nix
@@ -1,4 +1,5 @@
-{ buildPecl, lib, pkgs, pcre' }:
+{ stdenv, buildPecl, lib, pcre', pkg-config, cyrus_sasl, icu64
+, openssl, snappy, zlib, darwin }:
 
 buildPecl {
   pname = "mongodb";
@@ -6,15 +7,15 @@ buildPecl {
   version = "1.9.0";
   sha256 = "16mbw3p80qxsj86nmjbfch8wv6jaq8wbz4rlpmixvhj9nwbp37hs";
 
-  nativeBuildInputs = [ pkgs.pkg-config ];
-  buildInputs = with pkgs; [
+  nativeBuildInputs = [ pkg-config ];
+  buildInputs = [
     cyrus_sasl
     icu64
     openssl
     snappy
     zlib
     pcre'
-  ] ++ lib.optional (pkgs.stdenv.isDarwin) pkgs.darwin.apple_sdk.frameworks.Security;
+  ] ++ lib.optionals (stdenv.isDarwin) darwin.apple_sdk.frameworks.Security;
 
   meta.maintainers = lib.teams.php.members;
 }