587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
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 ];
|
|
};
|
|
}
|