nixpkgs/pkgs/development/libraries/libbson/default.nix
Ian Duncan fd7144e455 libbson: init at 1.1.10
[Bjørn: Remove trailing dot in description and unneeded parenthesis
around mkDerivation arguments.]
2015-08-24 07:14:24 +02:00

23 lines
649 B
Nix

{ autoconf, automake114x, fetchzip, libtool, perl, stdenv, which }:
let
version = "1.1.10";
in
stdenv.mkDerivation rec {
name = "libbson-${version}";
src = fetchzip {
url = "https://github.com/mongodb/libbson/releases/download/${version}/libbson-${version}.tar.gz";
sha256 = "0zzca7zqvxf89fq7ji9626q8nnqyyh0dnmbk4xijzr9sq485xz0s";
};
buildInputs = [ autoconf automake114x libtool perl which ];
meta = with stdenv.lib; {
description = "A C Library for parsing, editing, and creating BSON documents";
homepage = "https://github.com/mongodb/libbson";
license = licenses.asl20;
platforms = platforms.all;
};
}