ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / ocaml-modules / lwd / tyxml-lwd.nix
blob9e7df7f3a2c893a0e7c11f5aa23123c66b0c4aa1
2   lib,
3   fetchpatch,
4   buildDunePackage,
5   js_of_ocaml,
6   js_of_ocaml-ppx,
7   lwd,
8   tyxml,
9 }:
11 buildDunePackage {
12   pname = "tyxml-lwd";
14   inherit (lwd) version src;
16   # Compatibility with latest Tyxml (4.6.x)
17   patches = fetchpatch {
18     url = "https://github.com/let-def/lwd/commit/7f3364ec593b5ccf0d0294b97bcd1e28e4164691.patch";
19     hash = "sha256-W1HjExZxDKRwsrB9ZTkvHTMKO0K5iZl+FrNqPs6BPGU=";
20   };
22   minimalOCamlVersion = "4.08";
24   buildInputs = [ js_of_ocaml-ppx ];
25   propagatedBuildInputs = [
26     js_of_ocaml
27     lwd
28     tyxml
29   ];
31   meta = with lib; {
32     description = "Make reactive webpages in Js_of_ocaml using Tyxml and Lwd";
33     license = licenses.mit;
34     maintainers = [ maintainers.alizter ];
35     homepage = "https://github.com/let-def/lwd";
36   };