1 { lib, fetchurl, buildDunePackage, ocaml }:
3 lib.throwIf (lib.versionAtLeast ocaml.version "5.1")
4 "ocaml-migrate-parsetree is not available for OCaml ${ocaml.version}"
7 pname = "ocaml-migrate-parsetree";
10 minimalOCamlVersion = "4.02";
13 url = "https://github.com/ocaml-ppx/${pname}/releases/download/${version}/${pname}-${version}.tbz";
14 sha256 = "sha256-7EnEUtwzemIFVqtoK/AZi/UBglULUC2PsjClkSYKpqQ=";
18 description = "Convert OCaml parsetrees between different major versions";
19 license = lib.licenses.lgpl21;
20 maintainers = with lib.maintainers; [ vbgl sternenseemann ];
21 homepage = "https://github.com/ocaml-ppx/ocaml-migrate-parsetree";