mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
b150eabc86
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 1.9.3 with grep in /nix/store/2wb2wdhn8wqxcmh8vp75gnnb5sncmf3n-libbson-1.9.3 - found 1.9.3 in filename of file in /nix/store/2wb2wdhn8wqxcmh8vp75gnnb5sncmf3n-libbson-1.9.3
24 lines
577 B
Nix
24 lines
577 B
Nix
{ fetchFromGitHub, perl, stdenv, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libbson-${version}";
|
|
version = "1.9.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mongodb";
|
|
repo = "libbson";
|
|
rev = version;
|
|
sha256 = "0dbpmvd2p9bdqdyiijmsc1hd9d6l36migk79smw7fpfvh0y6ldsk";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ perl ];
|
|
|
|
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;
|
|
};
|
|
}
|