biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / ocaml-modules / ocaml-migrate-parsetree / 2.x.nix
blob1ba2976bcc54f03fcde2c1eec4ef4fd686d0cd6d
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}"
6 buildDunePackage rec {
7    pname = "ocaml-migrate-parsetree";
8    version = "2.4.0";
10    minimalOCamlVersion = "4.02";
12    src = fetchurl {
13      url = "https://github.com/ocaml-ppx/${pname}/releases/download/${version}/${pname}-${version}.tbz";
14      sha256 = "sha256-7EnEUtwzemIFVqtoK/AZi/UBglULUC2PsjClkSYKpqQ=";
15    };
17    meta = {
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";
22    };