Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, json-data-encoding, ocplib-endian, crowbar, alcotest }: 2 3buildDunePackage { 4 pname = "json-data-encoding-bson"; 5 6 inherit (json-data-encoding) version src doCheck; 7 8 duneVersion = "3"; 9 10 propagatedBuildInputs = [ 11 json-data-encoding 12 ocplib-endian 13 ]; 14 15 checkInputs = [ 16 crowbar 17 alcotest 18 ]; 19 20 meta = json-data-encoding.meta // { 21 description = "Type-safe encoding to and decoding from JSON (bson support)"; 22 }; 23}