67e55530a2
ocamlPackages.ocaml-protoc: 2.4 → 4.1 ocamlPackages.pbrt_services: init at 4.1 ocamlPackages.pbrt_yojson: init at 4.1
25 lines
399 B
Nix
25 lines
399 B
Nix
{
|
|
lib,
|
|
ocaml,
|
|
buildDunePackage,
|
|
pbrt,
|
|
stdlib-shims,
|
|
pbrt_services,
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "ocaml-protoc";
|
|
|
|
inherit (pbrt) version src;
|
|
|
|
buildInputs = [ stdlib-shims ];
|
|
propagatedBuildInputs = [ pbrt ];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "5.1";
|
|
checkInputs = [ pbrt_services ];
|
|
|
|
meta = pbrt.meta // {
|
|
description = "Protobuf Compiler for OCaml";
|
|
};
|
|
}
|