depot/third_party/nixpkgs/pkgs/development/ocaml-modules/data-encoding/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

43 lines
749 B
Nix

{ lib
, buildDunePackage
, ppx_hash
, bigstringaf
, either
, ezjsonm
, zarith
, zarith_stubs_js ? null
, hex
, json-data-encoding
, json-data-encoding-bson
, 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 ];
};
}