ocamlPackages.vdom: 0.2 → 0.3 (renamed from ocaml-vdom)

This commit is contained in:
·𐑑𐑴𐑕𐑑𐑩𐑤 2025-05-20 03:08:32 +07:00 committed by Vincent Laporte
parent 167098fb46
commit 9118a7388e
2 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{
lib,
fetchurl,
fetchzip,
buildDunePackage,
js_of_ocaml-compiler,
gen_js_api,
@ -8,14 +8,13 @@
}:
buildDunePackage rec {
pname = "ocaml-vdom";
version = "0.2";
pname = "vdom";
version = "0.3";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/LexiFi/ocaml-vdom/archive/refs/tags/v${version}.tar.gz";
sha256 = "sha256-FVR0WubW9VJBGVtVaXdJ+O/ghq0w5+BuItFWXkuVYL8=";
src = fetchzip {
url = "https://github.com/LexiFi/ocaml-vdom/archive/refs/tags/${version}.tar.gz";
hash = "sha256-mlXOb+KCdHWNL9PAppan7m7JaP83JEjq+tu14JI+NJo=";
};
nativeBuildInputs = [

View File

@ -1467,7 +1467,7 @@ let
ocaml-version = callPackage ../development/ocaml-modules/ocaml-version { };
ocaml-vdom = callPackage ../development/ocaml-modules/ocaml-vdom { };
ocaml-vdom = throw "2023-10-09: ocamlPackages.ocaml-vdom was renamed to ocamlPackages.vdom";
ocamlbuild =
if lib.versionOlder "4.03" ocaml.version then
@ -2122,6 +2122,8 @@ let
vchan = callPackage ../development/ocaml-modules/vchan { };
vdom = callPackage ../development/ocaml-modules/vdom { };
vector = callPackage ../development/ocaml-modules/vector { };
vg = callPackage ../development/ocaml-modules/vg { };