blob: ff3ec3df5ed7f38616f9318c408f8b3444e9ba28 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ stdenv, fetchzip, perl, pkgconfig, libbson
, openssl, which
}:
stdenv.mkDerivation rec {
name = "mongoc-${version}";
version = "1.7.0";
src = fetchzip {
url = "https://github.com/mongodb/mongo-c-driver/releases/download/${version}/mongo-c-driver-${version}.tar.gz";
sha256 = "1s0j7wmgdkgawzd75psh5ml35lkx68h6pimqrnfp2z1ggzcwajgn";
};
propagatedBuildInputs = [ libbson ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl perl which ];
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;
};
}
|