2017-03-15 01:03:41 +01:00
|
|
|
{ fetchFromGitHub, perl, stdenv, cmake }:
|
2015-08-23 00:08:04 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libbson-${version}";
|
2017-09-28 13:20:41 +02:00
|
|
|
version = "1.8.0";
|
2015-08-23 00:08:04 +02:00
|
|
|
|
2017-03-15 01:03:41 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mongodb";
|
|
|
|
repo = "libbson";
|
|
|
|
rev = version;
|
2017-09-28 13:20:41 +02:00
|
|
|
sha256 = "1bd9z07q3faq5k4521d9inv0j836w6hrsd0vj2sapjlq8jmqgslg";
|
2015-08-23 00:08:04 +02:00
|
|
|
};
|
|
|
|
|
2017-03-15 01:03:41 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ perl ];
|
2015-08-23 00:08:04 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A C Library for parsing, editing, and creating BSON documents";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/mongodb/libbson;
|
2015-08-23 00:08:04 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|