summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorJiri Marsik <jiri.marsik89@gmail.com>2014-10-28 14:00:48 +0100
committerJiri Marsik <jiri.marsik89@gmail.com>2014-10-28 14:00:48 +0100
commitc6fa8d0fd3f6a01d8eb9eec347f000e8dcff30c2 (patch)
tree463884124442175f08a0e50ad9ebc3bd27183df7 /pkgs/development/ocaml-modules
parent569ef7d3f036bf67fbf9719bb9810da46c1c42a9 (diff)
downloadnixpkgs-c6fa8d0fd3f6a01d8eb9eec347f000e8dcff30c2.tar
nixpkgs-c6fa8d0fd3f6a01d8eb9eec347f000e8dcff30c2.tar.gz
nixpkgs-c6fa8d0fd3f6a01d8eb9eec347f000e8dcff30c2.tar.bz2
nixpkgs-c6fa8d0fd3f6a01d8eb9eec347f000e8dcff30c2.tar.lz
nixpkgs-c6fa8d0fd3f6a01d8eb9eec347f000e8dcff30c2.tar.xz
nixpkgs-c6fa8d0fd3f6a01d8eb9eec347f000e8dcff30c2.tar.zst
nixpkgs-c6fa8d0fd3f6a01d8eb9eec347f000e8dcff30c2.zip
Added ansiterminal-0.6.5
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/ansiterminal/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ansiterminal/default.nix b/pkgs/development/ocaml-modules/ansiterminal/default.nix
new file mode 100644
index 00000000000..64b4f8263ff
--- /dev/null
+++ b/pkgs/development/ocaml-modules/ansiterminal/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchurl, ocaml, findlib }:
+
+stdenv.mkDerivation {
+
+  name = "ansiterminal-0.6.5";
+
+  src = fetchurl {
+    url = "https://forge.ocamlcore.org/frs/download.php/1206/ANSITerminal-0.6.5.tar.gz";
+    sha256 = "1j9kflv2i16vf9hy031cl6z8hv6791mjbhnd9bw07y1pswdlx1r6";
+  };
+
+  buildInputs = [ ocaml findlib ];
+
+  configurePhase = "ocaml setup.ml -configure --prefix $out";
+
+  buildPhase = "ocaml setup.ml -build";
+
+  installPhase = "ocaml setup.ml -install";
+
+  createFindlibDestdir = true;
+
+  meta = with stdenv.lib; {
+    homepage = "https://forge.ocamlcore.org/projects/ansiterminal";
+    description = "A module allowing to use the colors and cursor movements on ANSI terminals";
+    longDescription = ''
+      ANSITerminal is a module allowing to use the colors and cursor
+      movements on ANSI terminals. It also works on the windows shell (but
+      this part is currently work in progress).
+    '';
+    license = licenses.lgpl3;
+    platforms = ocaml.meta.platforms;
+    maintainers = [ maintainers.jirkamarsik ];
+  };
+}