2014-02-17 20:39:38 +01:00
|
|
|
{ stdenv, fetchurl, python, pygtk, notify, keybinder, vte, gettext, intltool
|
|
|
|
, makeWrapper
|
|
|
|
}:
|
2012-05-21 17:08:16 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-02-17 20:43:35 +01:00
|
|
|
name = "terminator-${version}";
|
2014-02-16 18:16:33 +01:00
|
|
|
version = "0.97";
|
2012-05-21 17:08:16 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-02-17 20:43:35 +01:00
|
|
|
url = "https://launchpad.net/terminator/trunk/${version}/+download/${name}.tar.gz";
|
2014-02-16 18:16:33 +01:00
|
|
|
sha256 = "1xykpx10g2zssx0ss6351ca6vmmma7zwxxhjz0fg28ps4dq88cci";
|
2012-05-21 17:08:16 +02:00
|
|
|
};
|
|
|
|
|
2014-02-17 20:39:38 +01:00
|
|
|
buildInputs = [
|
|
|
|
python pygtk notify keybinder vte gettext intltool makeWrapper
|
|
|
|
];
|
2012-05-21 17:08:16 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
2014-02-16 18:26:06 +01:00
|
|
|
python setup.py --without-icon-cache install --prefix="$out"
|
|
|
|
|
|
|
|
for file in "$out"/bin/*; do
|
|
|
|
wrapProgram "$file" \
|
2012-05-21 17:08:16 +02:00
|
|
|
--prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2014-02-16 18:26:06 +01:00
|
|
|
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;
|
2012-05-21 17:08:16 +02:00
|
|
|
};
|
|
|
|
}
|