depot/pkgs/development/ocaml-modules/data-encoding/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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 ];
};
}