diff options
author | Florent Becker <florent.becker@ens-lyon.org> | 2014-05-15 11:02:32 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-08-30 19:37:15 +0400 |
commit | 618f439d2e0c5b31b68f7ff31ce4f7409e596dc1 (patch) | |
tree | 8c9e91c06ed1b742287e2d25b408a96f1080cc80 /pkgs/development/ocaml-modules | |
parent | b7d2aff1030d66a218b396f5f2ca872a7186e323 (diff) | |
download | nixlib-618f439d2e0c5b31b68f7ff31ce4f7409e596dc1.tar nixlib-618f439d2e0c5b31b68f7ff31ce4f7409e596dc1.tar.gz nixlib-618f439d2e0c5b31b68f7ff31ce4f7409e596dc1.tar.bz2 nixlib-618f439d2e0c5b31b68f7ff31ce4f7409e596dc1.tar.lz nixlib-618f439d2e0c5b31b68f7ff31ce4f7409e596dc1.tar.xz nixlib-618f439d2e0c5b31b68f7ff31ce4f7409e596dc1.tar.zst nixlib-618f439d2e0c5b31b68f7ff31ce4f7409e596dc1.zip |
Add a derivation for ocaml-text
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/ocaml-text/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ocaml-text/default.nix b/pkgs/development/ocaml-modules/ocaml-text/default.nix new file mode 100644 index 000000000000..08136dd2b100 --- /dev/null +++ b/pkgs/development/ocaml-modules/ocaml-text/default.nix @@ -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 = [ + ]; + }; +} |