gnome-terminal: clean up a bit and add/update meta attributes

* No need to set 'phases', the default works.
* Use shell globbing instead of running 'ls' in a subshell.
* Quote shell variables.
* The project has got a new homepage; the old one points users to the
  new one (or the launchpad page)
* Make it available in the channel (meta.platforms = linux)
This commit is contained in:
Bjørn Forsman 2014-02-16 18:26:06 +01:00
parent 5fefa65747
commit 351951f315

@ -9,23 +9,28 @@ stdenv.mkDerivation rec {
sha256 = "1xykpx10g2zssx0ss6351ca6vmmma7zwxxhjz0fg28ps4dq88cci";
};
buildInputs =
[ python pygtk vte gettext intltool makeWrapper
];
phases = "unpackPhase installPhase";
buildInputs = [ python pygtk vte gettext intltool makeWrapper ];
installPhase = ''
python setup.py --without-icon-cache install --prefix=$out
for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i \
python setup.py --without-icon-cache install --prefix="$out"
for file in "$out"/bin/*; do
wrapProgram "$file" \
--prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
done
'';
meta = {
description = "Gnome terminal emulator with support for tiling and tabs";
homepage = http://www.tenshu.net/p/terminator.html;
license = "GPLv2";
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;
};
}