mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Add a derivation for ocaml-text
This commit is contained in:
parent
b7d2aff103
commit
618f439d2e
26
pkgs/development/ocaml-modules/ocaml-text/default.nix
Normal file
26
pkgs/development/ocaml-modules/ocaml-text/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{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 libiconv ncurses];
|
||||
|
||||
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 = "BSD";
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = [
|
||||
];
|
||||
};
|
||||
}
|
@ -3333,6 +3333,8 @@ let
|
||||
|
||||
ocaml_ssl = callPackage ../development/ocaml-modules/ssl { };
|
||||
|
||||
ocaml_text = callPackage ../development/ocaml-modules/ocaml-text { };
|
||||
|
||||
ounit = callPackage ../development/ocaml-modules/ounit { };
|
||||
|
||||
ulex = callPackage ../development/ocaml-modules/ulex { };
|
||||
|
Loading…
Reference in New Issue
Block a user