ocamlPackages.fmt: init at 0.8.0
fmt is an OCaml library of Format pretty-printer combinators. Homepage: http://erratique.ch/software/fmt
This commit is contained in:
parent
0a309311dd
commit
66b9602a2f
26
pkgs/development/ocaml-modules/fmt/default.nix
Normal file
26
pkgs/development/ocaml-modules/fmt/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg, cmdliner }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ocaml${ocaml.version}-fmt-0.8.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://erratique.ch/software/fmt/releases/fmt-0.8.0.tbz;
|
||||||
|
sha256 = "16y7ibndnairb53j8a6qgipyqwjxncn4pl9jiw5bxjfjm59108px";
|
||||||
|
};
|
||||||
|
|
||||||
|
unpackCmd = "tar xjf $src";
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib ocamlbuild opam topkg cmdliner ];
|
||||||
|
|
||||||
|
inherit (topkg) buildPhase installPhase;
|
||||||
|
|
||||||
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -176,6 +176,8 @@ let
|
|||||||
|
|
||||||
fix = callPackage ../development/ocaml-modules/fix { };
|
fix = callPackage ../development/ocaml-modules/fix { };
|
||||||
|
|
||||||
|
fmt = callPackage ../development/ocaml-modules/fmt { };
|
||||||
|
|
||||||
fontconfig = callPackage ../development/ocaml-modules/fontconfig {
|
fontconfig = callPackage ../development/ocaml-modules/fontconfig {
|
||||||
inherit (pkgs) fontconfig;
|
inherit (pkgs) fontconfig;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user