Merge pull request #239142 from NickCao/libmongo

libmongo-client: drop as upstream has gone
This commit is contained in:
Nick Cao 2023-06-22 21:10:45 +08:00 committed by GitHub
commit 437d2a8aac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 33 deletions

View file

@ -1,29 +0,0 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib }:
stdenv.mkDerivation rec {
pname = "libmongo-client";
version = "0.1.8";
src = fetchFromGitHub {
owner = "algernon";
repo = "libmongo-client";
rev = "${pname}-${version}";
sha256 = "1cjx06i3gd9zkyvwm2ysjrf0hkhr7bjg3c27s7n0y31j10igfjp0";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ ];
propagatedBuildInputs = [ glib ];
postPatch = ''
# Fix when uses glib in public headers
sed -i 's/Requires.private/Requires/g' src/libmongo-client.pc.in
'';
meta = with lib; {
homepage = "http://algernon.github.io/libmongo-client/";
description = "An alternative C driver for MongoDB";
license = licenses.asl20;
platforms = platforms.all;
};
}

View file

@ -49,7 +49,6 @@
, withRdkafka ? true
, rdkafka
, withMongo ? true
, libmongo-client
, mongoc
, withCzmq ? true
, czmq
@ -97,7 +96,7 @@ stdenv.mkDerivation rec {
++ lib.optional withNet libnet
++ lib.optional withHadoop hadoop
++ lib.optional withRdkafka rdkafka
++ lib.optionals withMongo [ libmongo-client mongoc ]
++ lib.optionals withMongo [ mongoc ]
++ lib.optional withCzmq czmq
++ lib.optional withRabbitmq rabbitmq-c
++ lib.optional withHiredis hiredis

View file

@ -879,6 +879,7 @@ mapAliases ({
liblastfm = libsForQt5.liblastfm; # Added 2020-06-14
liblrdf = throw "'liblrdf' has been renamed to/replaced by 'lrdf'"; # Converted to throw 2022-02-22
libmicrohttpd_0_9_70 = throw "'libmicrohttpd_0_9_70' has been removed because it is insecure, and has been replaced by 'libmicrohttpd_0_9_69' and 'libmicrohttpd_0_9_71'"; # Added 2022-10-10
libmongo-client = throw "'libmongo-client' has been removed, upstream gone"; # Added 2023-06-22
libmsgpack = throw "'libmsgpack' has been renamed to/replaced by 'msgpack'"; # Converted to throw 2022-02-22
libnih = throw "'libnih' has been removed"; # Converted to throw 2022-05-17
libosmpbf = throw "libosmpbf was removed because it is no longer required by osrm-backend";

View file

@ -9904,8 +9904,6 @@ with pkgs;
libmbim = callPackage ../development/libraries/libmbim { };
libmongo-client = callPackage ../development/libraries/libmongo-client { };
libmongocrypt = callPackage ../development/libraries/libmongocrypt { };
libmesode = callPackage ../development/libraries/libmesode { };