at v192 26 lines 736 B view raw
1{ stdenv, fetchzip, autoconf, automake114x, perl, pkgconfig, libbson, libtool 2, openssl, which 3}: 4 5let 6 version = "1.1.10"; 7in 8 9stdenv.mkDerivation rec { 10 name = "mongoc-${version}"; 11 12 src = fetchzip { 13 url = "https://github.com/mongodb/mongo-c-driver/releases/download/${version}/mongo-c-driver-${version}.tar.gz"; 14 sha256 = "13yg8dpqgbpc44lsblr3szk2a5bnl2prlayv4xlkivx90m86lcx3"; 15 }; 16 17 propagatedBuildInputs = [ libbson ]; 18 buildInputs = [ autoconf automake114x libtool openssl perl pkgconfig which ]; 19 20 meta = with stdenv.lib; { 21 description = "The official C client library for MongoDB"; 22 homepage = "https://github.com/mongodb/mongo-c-driver"; 23 license = licenses.asl20; 24 platforms = platforms.all; 25 }; 26}