forked from mirrors/nixpkgs
2db064d028
ocamlPackages.lwt-canceler: 0.2 -> 0.3 ocamlPackages.json-data-encoding: 0.8 -> 0.10 ocamlPackages.data-encoding: 0.2.0 -> 0.4.0 ocamlPackages.ff-sig, ff-pbt: init at 0.6.1 ocamlPacakges.bls12-381: 0.3.15 -> 0.4.2 Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
22 lines
451 B
Nix
22 lines
451 B
Nix
{ lib, buildDunePackage, json-data-encoding, ocplib-endian, crowbar, alcotest }:
|
|
|
|
buildDunePackage {
|
|
pname = "json-data-encoding-bson";
|
|
|
|
inherit (json-data-encoding) version src useDune2 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)";
|
|
};
|
|
}
|