summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/json-data-encoding/bson.nix
blob: 28a6ddb9ae91ea16e74a1f63cf61672223510929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  buildDunePackage,
  json-data-encoding,
  ocplib-endian,
  crowbar,
  alcotest,
}:

buildDunePackage {
  pname = "json-data-encoding-bson";

  inherit (json-data-encoding) version src doCheck;

  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)";
  };
}