2014-11-27 00:16:50 +01:00
|
|
|
{stdenv, fetchurl, libiconv, ocaml, findlib, ncurses}:
|
2014-05-15 11:02:32 +02:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2014-11-27 00:16:50 +01:00
|
|
|
buildInputs = [ocaml findlib ncurses libiconv];
|
2014-05-15 11:02:32 +02:00
|
|
|
|
2014-11-27 00:16:50 +01:00
|
|
|
configurePhase = "iconv_prefix=${libiconv} ocaml setup.ml -configure";
|
2014-05-15 11:02:32 +02:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://ocaml-text.forge.ocamlcore.org/";
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A library for convenient text manipulation";
|
2014-11-03 12:55:12 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2014-05-15 11:02:32 +02:00
|
|
|
platforms = ocaml.meta.platforms;
|
|
|
|
};
|
|
|
|
}
|