Merge pull request #288027 from LeSuisse/mongoc-1.25.4

mongoc: 1.24.4 -> 1.25.4
This commit is contained in:
Fabián Heredia Montiel 2024-02-13 14:33:16 -06:00 committed by GitHub
commit 621c9a4f91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -14,20 +14,15 @@
stdenv.mkDerivation rec {
pname = "mongoc";
version = "1.24.4";
version = "1.25.4";
src = fetchFromGitHub {
owner = "mongodb";
repo = "mongo-c-driver";
rev = "refs/tags/${version}";
hash = "sha256-cOPZ4o9q/cOBtGXFv6mOenTSyU/L2U6DZB4UmMnhtes=";
hash = "sha256-4Bz6sftXSZDDV8PlTQG8ndOwwp+QHXtzacJ1BXfJAkQ=";
};
postPatch = ''
substituteInPlace src/libbson/CMakeLists.txt src/libmongoc/CMakeLists.txt \
--replace "\\\''${prefix}/" ""
'';
nativeBuildInputs = [
cmake
pkg-config
@ -48,6 +43,7 @@ stdenv.mkDerivation rec {
"-DBUILD_VERSION=${version}"
"-DENABLE_UNINSTALL=OFF"
"-DENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF"
"-DCMAKE_INSTALL_LIBDIR=lib"
];
# remove forbidden reference to $TMPDIR

View File

@ -2,6 +2,8 @@
, stdenv
, fetchFromGitHub
, mongoc
, openssl
, cyrus_sasl
, cmake
, validatePkgConfig
, testers
@ -31,6 +33,8 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
mongoc
openssl
cyrus_sasl
];
cmakeFlags = [