nixpkgs/pkgs/development/ocaml-modules/json-data-encoding/bson.nix

20 lines
428 B
Nix

{ lib, buildDunePackage, json-data-encoding, ocplib-endian, crowbar }:
buildDunePackage {
pname = "json-data-encoding-bson";
inherit (json-data-encoding) version src useDune2 doCheck;
propagatedBuildInputs = [
json-data-encoding
ocplib-endian
];
checkInputs = [
crowbar
];
meta = json-data-encoding.meta // {
description = "Type-safe encoding to and decoding from JSON (bson support)";
};
}