mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #288027 from LeSuisse/mongoc-1.25.4
mongoc: 1.24.4 -> 1.25.4
This commit is contained in:
commit
621c9a4f91
@ -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
|
||||
|
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user