2017-12-13 23:36:29 -08:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner, result, uchar }:
|
2016-10-25 10:19:35 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-10-26 22:47:59 -07:00
|
|
|
name = "ocaml${ocaml.version}-fmt-0.8.5";
|
2016-10-25 10:19:35 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-22 01:14:28 -07:00
|
|
|
url = https://erratique.ch/software/fmt/releases/fmt-0.8.5.tbz;
|
2018-10-26 22:47:59 -07:00
|
|
|
sha256 = "1zj9azcxcn6skmb69ykgmi9z8c50yskwg03wqgh87lypgjdcz060";
|
2016-10-25 10:19:35 -07:00
|
|
|
};
|
|
|
|
|
2017-12-13 23:36:29 -08:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg cmdliner ];
|
2017-03-26 07:07:20 -07:00
|
|
|
propagatedBuildInputs = [ result uchar ];
|
2016-10-25 10:19:35 -07:00
|
|
|
|
|
|
|
inherit (topkg) buildPhase installPhase;
|
|
|
|
|
|
|
|
meta = {
|
2019-04-14 16:25:45 -07:00
|
|
|
homepage = https://erratique.ch/software/fmt;
|
2016-10-25 10:19:35 -07:00
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
description = "OCaml Format pretty-printer combinators";
|
|
|
|
inherit (ocaml.meta) platforms;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|