mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 02:03:21 +00:00
ocamlPackages.js_of_ocaml: 5.8.2 → 5.9.1
This commit is contained in:
parent
af13d121e5
commit
2b413270b5
@ -1,16 +1,20 @@
|
||||
{ lib, fetchurl, buildDunePackage
|
||||
{ lib, fetchurl, ocaml, buildDunePackage
|
||||
, cmdliner, yojson, ppxlib, findlib
|
||||
, menhir, menhirLib, sedlex
|
||||
, version ? if lib.versionAtLeast ocaml.version "4.11" then "5.9.1" else "5.8.2"
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage {
|
||||
pname = "js_of_ocaml-compiler";
|
||||
version = "5.8.2";
|
||||
inherit version;
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
|
||||
hash = "sha256-ciAZS9L5sU2VgVOlogZ1A1nXtJ3hL+iNdFDThc7L8Eo=";
|
||||
hash = {
|
||||
"5.9.1" = "sha256-aMlcYIcdjpyaVMgvNeLtUEE7y0QPIg0LNRayoe4ccwc=";
|
||||
"5.8.2" = "sha256-ciAZS9L5sU2VgVOlogZ1A1nXtJ3hL+iNdFDThc7L8Eo=";
|
||||
}."${version}";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ menhir ];
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ buildDunePackage, js_of_ocaml-compiler
|
||||
, ppxlib, uchar
|
||||
, ppxlib
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
@ -9,7 +9,7 @@ buildDunePackage {
|
||||
|
||||
buildInputs = [ ppxlib ];
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
|
||||
propagatedBuildInputs = [ js_of_ocaml-compiler ];
|
||||
|
||||
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ buildDunePackage, js_of_ocaml-compiler, js_of_ocaml-ppx
|
||||
, js_of_ocaml, ocaml_lwt, lwt_log
|
||||
, js_of_ocaml, lwt, lwt_log
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
@ -9,7 +9,7 @@ buildDunePackage {
|
||||
|
||||
buildInputs = [ js_of_ocaml-ppx ];
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml ocaml_lwt lwt_log ];
|
||||
propagatedBuildInputs = [ js_of_ocaml lwt lwt_log ];
|
||||
|
||||
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user