push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
{
lib,
buildDunePackage,
binaryen,
cmdliner,
js_of_ocaml-compiler,
menhir,
menhirLib,
ppxlib,
sedlex,
yojson,
}:
buildDunePackage {
pname = "wasm_of_ocaml-compiler";
inherit (js_of_ocaml-compiler) version src;
minimalOCamlVersion = "4.12";
nativeBuildInputs = [
binaryen
menhir
];
buildInputs = [
cmdliner
ppxlib
];
propagatedBuildInputs = [
js_of_ocaml-compiler
menhirLib
sedlex
yojson
];
meta = js_of_ocaml-compiler.meta // {
description = "Compiler from OCaml bytecode to WebAssembly";
mainProgram = "wasm_of_ocaml";
maintainers = [ lib.maintainers.stepbrobd ];
};
}

View File

@@ -0,0 +1,60 @@
{
lib,
fetchurl,
ocaml,
buildDunePackage,
cmdliner,
yojson,
ppxlib,
findlib,
menhir,
menhirLib,
sedlex,
version ?
if lib.versionAtLeast ocaml.version "4.13" then
"6.2.0"
else if lib.versionAtLeast ocaml.version "4.11" then
"6.0.1"
else
"5.8.2",
}:
buildDunePackage {
pname = "js_of_ocaml-compiler";
inherit version;
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
hash =
{
"6.2.0" = "sha256-fMZBd40bFyo1KogzPuDoxiE2WgrPzZuH44v9243Spdo=";
"6.1.1" = "sha256-0x2kGq5hwCqqi01QTk6TcFIz0wPNgaB7tKxe7bA9YBQ=";
"6.0.1" = "sha256-gT2+4rYuFUEEnqI6IOQFzyROJ+v6mFl4XPpT4obSxhQ=";
"5.9.1" = "sha256-aMlcYIcdjpyaVMgvNeLtUEE7y0QPIg0LNRayoe4ccwc=";
"5.8.2" = "sha256-ciAZS9L5sU2VgVOlogZ1A1nXtJ3hL+iNdFDThc7L8Eo=";
}
."${version}";
};
nativeBuildInputs = [ menhir ];
buildInputs = [
cmdliner
ppxlib
];
propagatedBuildInputs = [
menhirLib
yojson
findlib
sedlex
];
meta = {
description = "Compiler from OCaml bytecode to Javascript";
homepage = "https://ocsigen.org/js_of_ocaml/";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.vbgl ];
mainProgram = "js_of_ocaml";
};
}

View File

@@ -0,0 +1,17 @@
{
buildDunePackage,
js_of_ocaml-compiler,
ppxlib,
}:
buildDunePackage {
pname = "js_of_ocaml";
inherit (js_of_ocaml-compiler) version src;
buildInputs = [ ppxlib ];
propagatedBuildInputs = [ js_of_ocaml-compiler ];
meta = removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
}

View File

@@ -0,0 +1,21 @@
{
buildDunePackage,
js_of_ocaml-ppx,
js_of_ocaml,
lwt,
lwt_log,
}:
buildDunePackage {
pname = "js_of_ocaml-lwt";
inherit (js_of_ocaml) version src meta;
buildInputs = [ js_of_ocaml-ppx ];
propagatedBuildInputs = [
js_of_ocaml
lwt
lwt_log
];
}

View File

@@ -0,0 +1,27 @@
{
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 = "Ocamlbuild plugin to compile to JavaScript";
homepage = "https://github.com/ocsigen/js_of_ocaml-ocamlbuild";
license = lib.licenses.lgpl2Only;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@@ -0,0 +1,14 @@
{
buildDunePackage,
js_of_ocaml,
ppxlib,
}:
buildDunePackage {
pname = "js_of_ocaml-ppx";
inherit (js_of_ocaml) version src meta;
buildInputs = [ js_of_ocaml ];
propagatedBuildInputs = [ ppxlib ];
}

View File

@@ -0,0 +1,16 @@
{
buildDunePackage,
js_of_ocaml,
ppxlib,
}:
buildDunePackage {
pname = "js_of_ocaml-ppx_deriving_json";
inherit (js_of_ocaml) version src meta;
propagatedBuildInputs = [
js_of_ocaml
ppxlib
];
}

View File

@@ -0,0 +1,15 @@
{
buildDunePackage,
js_of_ocaml-compiler,
ppxlib,
}:
buildDunePackage {
pname = "js_of_ocaml-toplevel";
inherit (js_of_ocaml-compiler) src version;
buildInputs = [ ppxlib ];
propagatedBuildInputs = [ js_of_ocaml-compiler ];
meta = js_of_ocaml-compiler.meta // {
mainProgram = "jsoo_mktop";
};
}

View File

@@ -0,0 +1,21 @@
{
buildDunePackage,
js_of_ocaml-ppx,
js_of_ocaml,
reactivedata,
tyxml,
}:
buildDunePackage {
pname = "js_of_ocaml-tyxml";
inherit (js_of_ocaml) version src meta;
buildInputs = [ js_of_ocaml-ppx ];
propagatedBuildInputs = [
js_of_ocaml
reactivedata
tyxml
];
}