mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
470b48f31e
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libbson/versions. 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.5 with grep in /nix/store/lmn0g67a9wq9f8mg7v2afh111gmsbv6c-libbson-1.9.5 - directory tree listing: https://gist.github.com/ef0187572a2c4e53759a875695c4d6ea
24 lines
577 B
Nix
24 lines
577 B
Nix
{ fetchFromGitHub, perl, stdenv, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libbson-${version}";
|
|
version = "1.9.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mongodb";
|
|
repo = "libbson";
|
|
rev = version;
|
|
sha256 = "16rmzxhhmbvhp4q6qac5j9c74z2pcg5raag5w16mynzikdd2l05b";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|