about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/json-data-encoding/bson.nix
blob: 5048a8fd06a7162a47e2a38c52965fb7fa84fd6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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)";
  };
}