2017-12-14 08:36:29 +01:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner, result, uchar }:
|
2016-10-25 19:19:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2017-07-11 22:54:40 +02:00
|
|
|
name = "ocaml${ocaml.version}-fmt-0.8.4";
|
2016-10-25 19:19:35 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-07-11 22:54:40 +02:00
|
|
|
url = http://erratique.ch/software/fmt/releases/fmt-0.8.4.tbz;
|
|
|
|
sha256 = "1qilsbisqqhmn8b1ar9lvjbgz8vf4gmqwqjnnjzgld2a3gmh8qvv";
|
2016-10-25 19:19:35 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
unpackCmd = "tar xjf $src";
|
|
|
|
|
2017-12-14 08:36:29 +01:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg cmdliner ];
|
2017-03-26 16:07:20 +02:00
|
|
|
propagatedBuildInputs = [ result uchar ];
|
2016-10-25 19:19:35 +02:00
|
|
|
|
|
|
|
inherit (topkg) buildPhase installPhase;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://erratique.ch/software/fmt;
|
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
description = "OCaml Format pretty-printer combinators";
|
|
|
|
inherit (ocaml.meta) platforms;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|