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

26 lines
746 B
Nix
Raw Normal View History

2017-12-14 07:36:29 +00:00
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner, result, uchar }:
stdenv.mkDerivation {
2017-07-11 21:54:40 +01:00
name = "ocaml${ocaml.version}-fmt-0.8.4";
src = fetchurl {
2017-07-11 21:54:40 +01:00
url = http://erratique.ch/software/fmt/releases/fmt-0.8.4.tbz;
sha256 = "1qilsbisqqhmn8b1ar9lvjbgz8vf4gmqwqjnnjzgld2a3gmh8qvv";
};
unpackCmd = "tar xjf $src";
2017-12-14 07:36:29 +00:00
buildInputs = [ ocaml findlib ocamlbuild topkg cmdliner ];
2017-03-26 15:07:20 +01:00
propagatedBuildInputs = [ result uchar ];
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 ];
};
}