2022-11-08 08:44:53 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
2017-08-27 14:32:39 +00:00
|
|
|
, ocamlbuild
|
|
|
|
}:
|
|
|
|
|
2022-04-29 18:43:31 +00:00
|
|
|
buildDunePackage rec {
|
2020-12-06 23:42:51 +00:00
|
|
|
pname = "js_of_ocaml-ocamlbuild";
|
2022-11-08 08:44:53 +00:00
|
|
|
version = "5.0";
|
2017-08-27 14:32:39 +00:00
|
|
|
|
2023-05-12 03:50:40 +00:00
|
|
|
minimalOCamlVersion = "4.03";
|
2022-01-25 09:53:20 +00:00
|
|
|
|
2022-11-08 08:44:53 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocsigen/js_of_ocaml-ocamlbuild/releases/download/${version}/js_of_ocaml-ocamlbuild-${version}.tbz";
|
|
|
|
sha256 = "sha256-qlm8vxzie8sqPrd6iiwf8X6d2+DyQOOhmMoc67ChwHs=";
|
2022-04-29 18:43:31 +00:00
|
|
|
};
|
|
|
|
|
2020-12-06 23:42:51 +00:00
|
|
|
propagatedBuildInputs = [ ocamlbuild ];
|
2022-04-29 18:43:31 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An ocamlbuild plugin to compile to JavaScript";
|
2022-11-08 08:44:53 +00:00
|
|
|
homepage = "https://github.com/ocsigen/js_of_ocaml-ocamlbuild";
|
2022-04-29 18:43:31 +00:00
|
|
|
license = lib.licenses.lgpl2Only;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
2017-08-27 14:32:39 +00:00
|
|
|
}
|