e08b9ab8d3
Conflicts: pkgs/applications/networking/mailreaders/sup/default.nix pkgs/development/compilers/ghc/7.8.3-binary.nix pkgs/development/interpreters/php/5.3.nix pkgs/development/interpreters/ruby/patches.nix pkgs/development/libraries/cairo/default.nix pkgs/development/libraries/poppler/default.nix pkgs/top-level/all-packages.nix
24 lines
724 B
Nix
24 lines
724 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 = "OCaml-Text is a library for dealing with ``text'', i.e. sequence of unicode characters, in a convenient way. ";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
platforms = ocaml.meta.platforms;
|
|
};
|
|
}
|