9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
27 lines
743 B
Nix
27 lines
743 B
Nix
{ stdenv, fetchzip, perl, pkg-config, libbson
|
|
, openssl, which, zlib, snappy
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mongoc";
|
|
version = "1.8.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/mongodb/mongo-c-driver/releases/download/${version}/mongo-c-driver-${version}.tar.gz";
|
|
sha256 = "1vnnk3pwbcmwva1010bl111kdcdx3yb2w7j7a78hhvrm1k9r1wp8";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config which perl ];
|
|
buildInputs = [ openssl zlib ];
|
|
propagatedBuildInputs = [ libbson snappy ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The official C client library for MongoDB";
|
|
homepage = "https://github.com/mongodb/mongo-c-driver";
|
|
license = licenses.asl20;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|