1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/development/libraries/mongoc/default.nix
2017-02-17 00:11:26 +01:00

24 lines
727 B
Nix

{ stdenv, fetchzip, autoconf, automake114x, perl, pkgconfig, libbson, libtool
, openssl, which
}:
stdenv.mkDerivation rec {
name = "mongoc-${version}";
version = "1.5.4";
src = fetchzip {
url = "https://github.com/mongodb/mongo-c-driver/releases/download/${version}/mongo-c-driver-${version}.tar.gz";
sha256 = "0xjk3k76n8yz7zi6a0dx1wgpsvvn5qhpzrapdw4v3h49hwf7rc5q";
};
propagatedBuildInputs = [ libbson ];
buildInputs = [ autoconf automake114x libtool openssl perl pkgconfig 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;
};
}