1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/development/libraries/mongoc/default.nix
Ian Duncan 4bdcf1fa95 mongoc: init at 1.1.10
[Bjørn: Minor coding style cleanup.]
2015-08-24 07:25:18 +02:00

27 lines
736 B
Nix

{ stdenv, fetchzip, autoconf, automake114x, perl, pkgconfig, libbson, libtool
, openssl, which
}:
let
version = "1.1.10";
in
stdenv.mkDerivation rec {
name = "mongoc-${version}";
src = fetchzip {
url = "https://github.com/mongodb/mongo-c-driver/releases/download/${version}/mongo-c-driver-${version}.tar.gz";
sha256 = "13yg8dpqgbpc44lsblr3szk2a5bnl2prlayv4xlkivx90m86lcx3";
};
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;
};
}