summary refs log tree commit diff
path: root/pkgs/applications/misc/terminator
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-02-17 20:43:35 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-02-17 20:56:03 +0100
commit493adc9227e5e2649e71756679b2527c144a8441 (patch)
tree6efafe7b3b35c6f95b0b9a4c769cc6b37510aa4e /pkgs/applications/misc/terminator
parent0fa9dca3624e6971babf57a00a284e50b8fe31ce (diff)
downloadnixlib-493adc9227e5e2649e71756679b2527c144a8441.tar
nixlib-493adc9227e5e2649e71756679b2527c144a8441.tar.gz
nixlib-493adc9227e5e2649e71756679b2527c144a8441.tar.bz2
nixlib-493adc9227e5e2649e71756679b2527c144a8441.tar.lz
nixlib-493adc9227e5e2649e71756679b2527c144a8441.tar.xz
nixlib-493adc9227e5e2649e71756679b2527c144a8441.tar.zst
nixlib-493adc9227e5e2649e71756679b2527c144a8441.zip
Rename 'gnome-terminator' to 'terminator'
Align the package name with what other distros call it.

Other distros: Fedora, Debian, Archlinux, OpenSUSE, Mageia, Slackware
(and probably more).
Diffstat (limited to 'pkgs/applications/misc/terminator')
-rw-r--r--pkgs/applications/misc/terminator/default.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/misc/terminator/default.nix b/pkgs/applications/misc/terminator/default.nix
new file mode 100644
index 000000000000..c337cd329c92
--- /dev/null
+++ b/pkgs/applications/misc/terminator/default.nix
@@ -0,0 +1,40 @@
+{ stdenv, fetchurl, python, pygtk, notify, keybinder, vte, gettext, intltool
+, makeWrapper
+}:
+
+stdenv.mkDerivation rec {
+  name = "terminator-${version}";
+  version = "0.97";
+  
+  src = fetchurl {
+    url = "https://launchpad.net/terminator/trunk/${version}/+download/${name}.tar.gz";
+    sha256 = "1xykpx10g2zssx0ss6351ca6vmmma7zwxxhjz0fg28ps4dq88cci";
+  };
+  
+  buildInputs = [
+    python pygtk notify keybinder vte gettext intltool makeWrapper
+  ];
+
+  installPhase = ''
+    python setup.py --without-icon-cache install --prefix="$out"
+
+    for file in "$out"/bin/*; do
+        wrapProgram "$file" \
+            --prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
+    done
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Terminal emulator with support for tiling and tabs";
+    longDescription = ''
+      The goal of this project is to produce a useful tool for arranging
+      terminals. It is inspired by programs such as gnome-multi-term,
+      quadkonsole, etc. in that the main focus is arranging terminals in grids
+      (tabs is the most common default method, which Terminator also supports).
+    '';
+    homepage = http://gnometerminator.blogspot.no/p/introduction.html;
+    license = licenses.gpl2;
+    maintainers = [ maintainers.bjornfor ];
+    platforms = platforms.linux;
+  };
+}