nixpkgs/pkgs/development/ocaml-modules/ocaml-text/default.nix
Joachim Fasting bf7ad2d84f meta.description fixups
Mostly scripted substitutions with a couple of subjective enhancements.
2015-04-30 18:17:42 +02:00

25 lines
657 B
Nix

{stdenv, fetchurl, libiconv, ocaml, findlib, ncurses}:
stdenv.mkDerivation {
name = "ocaml-text-0.6";
src = fetchurl {
url = https://forge.ocamlcore.org/frs/download.php/937/ocaml-text-0.6.tar.gz;
sha256 = "0j8gaak0ajnlmn8knvfygqwwzs7awjv5rfn5cbj6qxqbxhjd5m6g";
};
buildInputs = [ocaml findlib ncurses libiconv];
configurePhase = "iconv_prefix=${libiconv} ocaml setup.ml -configure";
createFindlibDestdir = true;
meta = {
homepage = "http://ocaml-text.forge.ocamlcore.org/";
description = "A library for convenient text manipulation";
license = stdenv.lib.licenses.bsd3;
platforms = ocaml.meta.platforms;
};
}