mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
Merge pull request #242366 from NixOS/php/extension/bump-mongodb-extension
phpExtensions.mongodb: 1.15.0 -> 1.16.1
This commit is contained in:
commit
184b3b322e
|
@ -1,6 +1,8 @@
|
|||
{ stdenv
|
||||
, buildPecl
|
||||
, php
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, libiconv
|
||||
, pcre2
|
||||
, pkg-config
|
||||
, cyrus_sasl
|
||||
|
@ -8,14 +10,21 @@
|
|||
, openssl
|
||||
, snappy
|
||||
, zlib
|
||||
, darwin
|
||||
, Security
|
||||
, Libsystem
|
||||
}:
|
||||
|
||||
buildPecl {
|
||||
php.buildPecl rec {
|
||||
pname = "mongodb";
|
||||
version = "1.16.1";
|
||||
|
||||
version = "1.15.0";
|
||||
sha256 = "sha256-7rYmjTS9C0o9zGDd5OSE9c9PokOco9nwJMAADpnuckA=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mongodb";
|
||||
repo = "mongo-php-driver";
|
||||
rev = version;
|
||||
hash = "sha256-nVkue3qB6OwXKcyaYU1WmXG7pamKQtk8cbztVVkNejo=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
|
@ -25,12 +34,16 @@ buildPecl {
|
|||
snappy
|
||||
zlib
|
||||
pcre2
|
||||
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Security
|
||||
Libsystem
|
||||
libiconv
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "MongoDB driver for PHP";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://docs.mongodb.com/drivers/php/";
|
||||
maintainers = teams.php.members;
|
||||
meta = {
|
||||
description = "The Official MongoDB PHP driver";
|
||||
homepage = "https://github.com/mongodb/mongo-php-driver";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = lib.teams.php.members;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -247,7 +247,10 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||
|
||||
memcached = callPackage ../development/php-packages/memcached { };
|
||||
|
||||
mongodb = callPackage ../development/php-packages/mongodb { };
|
||||
mongodb = pkgs.darwin.apple_sdk_11_0.callPackage ../development/php-packages/mongodb {
|
||||
inherit (pkgs.darwin.apple_sdk_11_0.frameworks) Security;
|
||||
inherit (pkgs.darwin.apple_sdk_11_0) Libsystem;
|
||||
};
|
||||
|
||||
msgpack = callPackage ../development/php-packages/msgpack { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue