fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / development / ocaml-modules / ocaml-vdom / default.nix
blobe34feb49f0d3fe24ae48f9018b07cf7b38a31ada
2   lib,
3   fetchurl,
4   buildDunePackage,
5   js_of_ocaml-compiler,
6   gen_js_api,
7   ojs,
8 }:
10 buildDunePackage rec {
11   pname = "ocaml-vdom";
12   version = "0.2";
13   minimalOCamlVersion = "4.08";
14   duneVersion = "3";
16   src = fetchurl {
17     url = "https://github.com/LexiFi/ocaml-vdom/archive/refs/tags/v${version}.tar.gz";
18     sha256 = "sha256-FVR0WubW9VJBGVtVaXdJ+O/ghq0w5+BuItFWXkuVYL8=";
19   };
21   nativeBuildInputs = [
22     gen_js_api
23   ];
25   buildInputs = [
26     gen_js_api
27   ];
29   propagatedBuildInputs = [
30     js_of_ocaml-compiler
31     ojs
32   ];
34   meta = {
35     homepage = "https://github.com/LexiFi/ocaml-vdom";
36     description = "Elm architecture and (V)DOM for OCaml";
37     license = lib.licenses.mit;
38     maintainers = with lib.maintainers; [ jayesh-bhoot ];
39   };