2021-01-21 18:00:13 +01:00
|
|
|
{ fetchFromGitHub, perl, lib, stdenv, cmake }:
|
2015-08-23 00:08:04 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libbson";
|
2018-05-03 00:19:20 +02:00
|
|
|
version = "1.9.5";
|
2015-08-23 00:08:04 +02:00
|
|
|
|
2017-03-15 01:03:41 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mongodb";
|
|
|
|
repo = "libbson";
|
|
|
|
rev = version;
|
2018-05-03 00:19:20 +02:00
|
|
|
sha256 = "16rmzxhhmbvhp4q6qac5j9c74z2pcg5raag5w16mynzikdd2l05b";
|
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
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2015-08-23 00:08:04 +02:00
|
|
|
description = "A C Library for parsing, editing, and creating BSON documents";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/mongodb/libbson";
|
2015-08-23 00:08:04 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|