1 { lib, stdenv, fetchzip, perl, pkg-config, libbson
2 , openssl, which, zlib, snappy
5 stdenv.mkDerivation rec {
10 url = "https://github.com/mongodb/mongo-c-driver/releases/download/${version}/mongo-c-driver-${version}.tar.gz";
11 sha256 = "1vnnk3pwbcmwva1010bl111kdcdx3yb2w7j7a78hhvrm1k9r1wp8";
14 nativeBuildInputs = [ pkg-config which perl ];
15 buildInputs = [ openssl zlib ];
16 propagatedBuildInputs = [ libbson snappy ];
18 enableParallelBuilding = true;
21 description = "The official C client library for MongoDB";
22 homepage = "http://mongoc.org";
23 license = licenses.asl20;
24 mainProgram = "mongoc-stat";
25 platforms = platforms.all;