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
40 lines
733 B
Nix
40 lines
733 B
Nix
{
|
|
lib,
|
|
fetchzip,
|
|
buildDunePackage,
|
|
js_of_ocaml-compiler,
|
|
gen_js_api,
|
|
ojs,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "vdom";
|
|
version = "0.3";
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/LexiFi/ocaml-vdom/archive/refs/tags/${version}.tar.gz";
|
|
hash = "sha256-mlXOb+KCdHWNL9PAppan7m7JaP83JEjq+tu14JI+NJo=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gen_js_api
|
|
];
|
|
|
|
buildInputs = [
|
|
gen_js_api
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
js_of_ocaml-compiler
|
|
ojs
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/LexiFi/ocaml-vdom";
|
|
description = "Elm architecture and (V)DOM for OCaml";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ jayesh-bhoot ];
|
|
};
|
|
}
|