nixpkgs/pkgs/development/ocaml-modules/json-data-encoding/bson.nix
2023-04-01 06:42:14 +02:00

24 lines
464 B
Nix

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