Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildDunePackage 3, ppx_hash 4, bigstringaf 5, either 6, ezjsonm 7, zarith 8, zarith_stubs_js ? null 9, hex 10, json-data-encoding 11, json-data-encoding-bson 12, ppx_expect 13}: 14 15buildDunePackage rec { 16 pname = "data-encoding"; 17 inherit (json-data-encoding) src version; 18 19 minimalOCamlVersion = "4.10"; 20 21 propagatedBuildInputs = [ 22 bigstringaf 23 either 24 ezjsonm 25 ppx_hash 26 zarith 27 zarith_stubs_js 28 hex 29 json-data-encoding 30 json-data-encoding-bson 31 ]; 32 33 buildInputs = [ 34 ppx_expect 35 ]; 36 37 meta = { 38 homepage = "https://gitlab.com/nomadic-labs/data-encoding"; 39 description = "Library of JSON and binary encoding combinators"; 40 license = lib.licenses.mit; 41 maintainers = [ lib.maintainers.ulrikstrid ]; 42 }; 43}