blob: 9c84045de60d034a60a2489670d4b1b08c2f1cc3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{stdenv, fetchurl, libiconv, ocaml, findlib, ncurses}:
stdenv.mkDerivation {
name = "ocaml-text-0.7.1";
src = fetchurl {
url = "https://github.com/vbmithr/ocaml-text/archive/0.7.1.tar.gz";
sha256 = "0dn096q9gjfj7ibj237mb7lq0742a760zawka6i064qns727qwrg";
};
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 or [];
};
}
|