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