4922992a04
ocamlPackages.data-encoding: 0.7.1 → 1.0.1 ocamlPackages.index: 1.6.1 → 1.6.2 ocamlPackages.irmin: 3.7.2 → 3.9.0 ocamlPackages.irmin-http: remove at 3.7.2 ocamlPackages.mirage-kv: 4.0.1 → 6.1.1 ocamlPackages.terminal: 0.2.1 → 0.2.2
46 lines
788 B
Nix
46 lines
788 B
Nix
{ lib
|
|
, fetchFromGitLab
|
|
, buildDunePackage
|
|
, ppx_hash
|
|
, bigstringaf
|
|
, either
|
|
, ezjsonm
|
|
, zarith
|
|
, zarith_stubs_js ? null
|
|
, hex
|
|
, json-data-encoding
|
|
, json-data-encoding-bson
|
|
, alcotest
|
|
, crowbar
|
|
, ppx_expect
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "data-encoding";
|
|
inherit (json-data-encoding) src version;
|
|
|
|
minimalOCamlVersion = "4.10";
|
|
|
|
propagatedBuildInputs = [
|
|
bigstringaf
|
|
either
|
|
ezjsonm
|
|
ppx_hash
|
|
zarith
|
|
zarith_stubs_js
|
|
hex
|
|
json-data-encoding
|
|
json-data-encoding-bson
|
|
];
|
|
|
|
buildInputs = [
|
|
ppx_expect
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://gitlab.com/nomadic-labs/data-encoding";
|
|
description = "Library of JSON and binary encoding combinators";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
};
|
|
}
|