about summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix
blob: 861dc22c80380991053fd74a7c70055233b8bd0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildDunePackage, fetchurl
, ocamlbuild
}:

buildDunePackage rec {
  pname = "js_of_ocaml-ocamlbuild";
  version = "5.0";

  minimalOCamlVersion = "4.03";

  src = fetchurl {
    url = "https://github.com/ocsigen/js_of_ocaml-ocamlbuild/releases/download/${version}/js_of_ocaml-ocamlbuild-${version}.tbz";
    sha256 = "sha256-qlm8vxzie8sqPrd6iiwf8X6d2+DyQOOhmMoc67ChwHs=";
  };

  propagatedBuildInputs = [ ocamlbuild ];

  meta = {
    description = "An ocamlbuild plugin to compile to JavaScript";
    homepage = "https://github.com/ocsigen/js_of_ocaml-ocamlbuild";
    license = lib.licenses.lgpl2Only;
    maintainers = [ lib.maintainers.vbgl ];
  };
}