lol
1{ stdenv, fetchFromGitHub, ocaml, findlib, ocf, ptime,
2 uutf, uri, ppx_blob, xtmpl, ocaml_lwt, higlo, camlp4, omd
3}:
4
5stdenv.mkDerivation rec {
6 name = "stog-${version}";
7 version = "0.17.0";
8 src = fetchFromGitHub {
9 owner = "zoggy";
10 repo = "stog";
11 rev = "release-${version}";
12 sha256 = "06fnl3im0rycn05w39adfmm7w4s8l3jrj43h8f8h3b56grh21x0d";
13 };
14
15 buildInputs = [ ocaml camlp4 uutf ];
16 propagatedBuildInputs = [ findlib omd ppx_blob ocf ptime uri xtmpl ocaml_lwt higlo ];
17
18 createFindlibDestdir = true;
19
20 patches = [ ./install.patch ];
21
22 meta = with stdenv.lib; {
23 description = "XML documents and web site compiler";
24 homepage = https://zoggy.github.io/stog/;
25 license = licenses.lgpl3;
26 platforms = ocaml.meta.platforms or [];
27 maintainers = with maintainers; [ regnat ];
28 };
29}
30
31