nixpkgs/pkgs/applications/misc/stog/default.nix

33 lines
826 B
Nix
Raw Normal View History

2018-07-29 13:32:10 +00:00
{ stdenv, fetchFromGitLab, ocaml, findlib, ocf, ptime,
uutf, uri, ppx_blob, xtmpl, ocaml_lwt, higlo, omd
2017-03-23 08:02:21 +00:00
}:
stdenv.mkDerivation rec {
name = "stog-${version}";
2018-07-29 13:32:10 +00:00
version = "0.18.0";
src = fetchFromGitLab {
domain = "framagit.org";
2017-03-23 08:02:21 +00:00
owner = "zoggy";
repo = "stog";
2018-07-29 13:32:10 +00:00
rev = version;
sha256 = "154gl3ljxqlw8wz1vmsyv8180igrl5bjq0wir7ybrnzq2cdflkv0";
2017-03-23 08:02:21 +00:00
};
2018-07-29 13:32:10 +00:00
buildInputs = [ ocaml uutf ];
2017-03-23 08:02:21 +00:00
propagatedBuildInputs = [ findlib omd ppx_blob ocf ptime uri xtmpl ocaml_lwt higlo ];
createFindlibDestdir = true;
patches = [ ./install.patch ];
meta = with stdenv.lib; {
description = "XML documents and web site compiler";
2018-07-29 13:32:10 +00:00
homepage = https://www.good-eris.net/stog;
2017-03-23 08:02:21 +00:00
license = licenses.lgpl3;
platforms = ocaml.meta.platforms or [];
maintainers = with maintainers; [ regnat ];
};
}