ocamlPackages.js_of_ocaml: 4.1.0 → 5.3.0
ocamlPackages.gen_js_api: disable checks with OCaml < 4.13
This commit is contained in:
parent
78419edadf
commit
ab55109304
8 changed files with 6 additions and 14 deletions
|
@ -1,4 +1,5 @@
|
|||
{ buildDunePackage
|
||||
, ocaml
|
||||
, lib
|
||||
, ppxlib
|
||||
, fetchFromGitHub
|
||||
|
@ -10,7 +11,6 @@
|
|||
buildDunePackage rec {
|
||||
pname = "gen_js_api";
|
||||
version = "1.1.1";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LexiFi";
|
||||
|
@ -23,7 +23,7 @@ buildDunePackage rec {
|
|||
|
||||
propagatedBuildInputs = [ ojs ppxlib ];
|
||||
nativeCheckInputs = [ js_of_ocaml-compiler nodejs ];
|
||||
doCheck = true;
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.13";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/LexiFi/gen_js_api";
|
||||
|
|
|
@ -1,24 +1,22 @@
|
|||
{ lib, fetchurl, buildDunePackage
|
||||
, cmdliner, yojson, ppxlib, findlib
|
||||
, menhir, menhirLib
|
||||
, menhir, menhirLib, sedlex
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "js_of_ocaml-compiler";
|
||||
version = "4.1.0";
|
||||
duneVersion = "3";
|
||||
version = "5.3.0";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
|
||||
sha256 = "sha256-kXk/KaWvPeq6P301zqsR5znP4KXMMFVvYgFGGm1CNu8=";
|
||||
hash = "sha256-vp497rmOXSjxvLLZhHwE0ohfwH7VjM2LCKpLZijNZNI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ menhir ];
|
||||
buildInputs = [ cmdliner ppxlib ];
|
||||
|
||||
configurePlatforms = [];
|
||||
propagatedBuildInputs = [ menhirLib yojson findlib ];
|
||||
propagatedBuildInputs = [ menhirLib yojson findlib sedlex ];
|
||||
|
||||
meta = {
|
||||
description = "Compiler from OCaml bytecode to Javascript";
|
||||
|
|
|
@ -6,7 +6,6 @@ buildDunePackage {
|
|||
pname = "js_of_ocaml";
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
buildInputs = [ ppxlib ];
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ buildDunePackage {
|
|||
pname = "js_of_ocaml-lwt";
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
buildInputs = [ js_of_ocaml-ppx ];
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ buildDunePackage {
|
|||
pname = "js_of_ocaml-ppx";
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
buildInputs = [ js_of_ocaml ];
|
||||
propagatedBuildInputs = [ ppxlib ];
|
||||
|
|
|
@ -6,7 +6,6 @@ buildDunePackage {
|
|||
pname = "js_of_ocaml-ppx_deriving_json";
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml ppxlib ];
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib, buildDunePackage, js_of_ocaml-compiler, ppxlib }:
|
||||
|
||||
buildDunePackage {
|
||||
duneVersion = "3";
|
||||
pname = "js_of_ocaml-toplevel";
|
||||
inherit (js_of_ocaml-compiler) src version;
|
||||
buildInputs = [ ppxlib ];
|
||||
|
|
|
@ -7,7 +7,6 @@ buildDunePackage {
|
|||
pname = "js_of_ocaml-tyxml";
|
||||
|
||||
inherit (js_of_ocaml-compiler) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
buildInputs = [ js_of_ocaml-ppx ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue