forked from mirrors/nixpkgs
8f1302995e
ocamlPackages.ppx_deriving_yojson: 3.5.2 → 3.6.1 ocamlPackages.visitors: 20200210 → 20210127 ocamlPackages.pgocaml: disable for OCaml < 4.08 ocamlPackages.nocrypto: disable for OCaml < 4.08 ocamlPackages.lens: mark as broken ocamlPackages.ppx_deriving_protobuf: mark as broken Closes #108137
29 lines
779 B
Nix
29 lines
779 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, ocaml, cppo, ppx_tools, ppx_deriving
|
|
, ppxfind }:
|
|
|
|
if lib.versionAtLeast ocaml.version "4.11"
|
|
then throw "ppx_deriving_protobuf is not available for OCaml ${ocaml.version}"
|
|
else
|
|
|
|
buildDunePackage rec {
|
|
pname = "ppx_deriving_protobuf";
|
|
version = "2.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml-ppx";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0aq4f3gbkhhai0c8i5mcw2kpqy8l610f4dknwkrxh0nsizwbwryn";
|
|
};
|
|
|
|
buildInputs = [ cppo ppx_tools ppxfind ppx_deriving ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/ocaml-ppx/ppx_deriving_protobuf";
|
|
description = "A Protocol Buffers codec generator for OCaml";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.vyorkin ];
|
|
broken = true;
|
|
};
|
|
}
|