nixpkgs/pkgs/applications/misc/stog/default.nix
Vincent Laporte d50c9666ca stog: 0.18.0 → 0.20.0
ocamlPackages.higlo: 0.6 → 0.8

ocamlPackages.iri: 0.4.0 → 0.6.0

ocamlPackages.ocf: 0.5.0 → 0.8.0

ocamlPackages.ocf_ppx: init at 0.8.0

ocamlPackages.xtmpl: 0.17.0 → 0.19.0

ocamlPackages.xtmpl_ppx: init at 0.19.0
2021-12-30 08:23:22 +01:00

45 lines
1.0 KiB
Nix

{ lib, buildDunePackage, fetchFromGitLab, ocaml
, fmt, lwt_ppx, menhir, ocf_ppx, ppx_blob, xtmpl_ppx
, dune-build-info, dune-site, higlo, logs, lwt, ocf, ptime, uri, uutf, xtmpl
}:
if lib.versionAtLeast ocaml.version "4.13"
then throw "stog is not available for OCaml ${ocaml.version}"
else
buildDunePackage rec {
pname = "stog";
version = "0.20.0";
useDune2 = true;
minimalOCamlVersion = "4.12";
src = fetchFromGitLab {
domain = "framagit.org";
owner = "zoggy";
repo = "stog";
rev = version;
sha256 = "sha256:0krj5w4y05bcfx7hk9blmap8avl31gp7yi01lpqzs6ync23mvm0x";
};
buildInputs = [ fmt lwt_ppx menhir ocf_ppx ppx_blob xtmpl_ppx ];
propagatedBuildInputs = [
dune-build-info
dune-site
higlo
logs
lwt
ocf
ppx_blob
ptime
uri
uutf
xtmpl
];
meta = with lib; {
description = "XML documents and web site compiler";
homepage = "https://www.good-eris.net/stog";
license = licenses.lgpl3;
maintainers = with maintainers; [ regnat ];
};
}