2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitLab, ocaml, findlib, ocf, ptime,
|
2018-07-29 15:32:10 +02:00
|
|
|
uutf, uri, ppx_blob, xtmpl, ocaml_lwt, higlo, omd
|
2017-03-23 09:02:21 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "stog";
|
2018-07-29 15:32:10 +02:00
|
|
|
version = "0.18.0";
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "framagit.org";
|
2017-03-23 09:02:21 +01:00
|
|
|
owner = "zoggy";
|
|
|
|
repo = "stog";
|
2018-07-29 15:32:10 +02:00
|
|
|
rev = version;
|
|
|
|
sha256 = "154gl3ljxqlw8wz1vmsyv8180igrl5bjq0wir7ybrnzq2cdflkv0";
|
2017-03-23 09:02:21 +01:00
|
|
|
};
|
|
|
|
|
2018-07-29 15:32:10 +02:00
|
|
|
buildInputs = [ ocaml uutf ];
|
2017-03-23 09:02:21 +01:00
|
|
|
propagatedBuildInputs = [ findlib omd ppx_blob ocf ptime uri xtmpl ocaml_lwt higlo ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2020-12-06 09:33:38 +01:00
|
|
|
patches = [ ./install.patch ./uri.patch ];
|
2017-03-23 09:02:21 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-03-23 09:02:21 +01:00
|
|
|
description = "XML documents and web site compiler";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.good-eris.net/stog";
|
2017-03-23 09:02:21 +01:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = ocaml.meta.platforms or [];
|
|
|
|
maintainers = with maintainers; [ regnat ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|