depot/third_party/nixpkgs/pkgs/development/ocaml-modules/data-encoding/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

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 ];
};
}