Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
733 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}