nixpkgs/pkgs/development/ocaml-modules/fmt/default.nix

24 lines
717 B
Nix
Raw Normal View History

2017-12-14 08:36:29 +01:00
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner, result, uchar }:
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-fmt-0.8.5";
src = fetchurl {
url = https://erratique.ch/software/fmt/releases/fmt-0.8.5.tbz;
sha256 = "1zj9azcxcn6skmb69ykgmi9z8c50yskwg03wqgh87lypgjdcz060";
};
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 ];
inherit (topkg) buildPhase installPhase;
meta = {
homepage = https://erratique.ch/software/fmt;
license = stdenv.lib.licenses.isc;
description = "OCaml Format pretty-printer combinators";
inherit (ocaml.meta) platforms;
maintainers = [ stdenv.lib.maintainers.vbgl ];
};
}