@@ -1,8 +1,6 @@
1−{ stdenv, fetchurl, python, pygtk, notify, keybinder, vte, gettext, intltool
2−, makeWrapper
3−}:
1+{ stdenv, fetchurl, pythonPackages, keybinder, vte, gettext, intltool }:
42
5−stdenv.mkDerivation rec {
3+pythonPackages.buildPythonApplication rec {
64 name = "terminator-${version}";
75 version = "0.98";
86
@@ -11,18 +9,11 @@ stdenv.mkDerivation rec {
119 sha256 = "1h965z06dsfk38byyhnsrscd9r91qm92ggwgjrh7xminzsgqqv8a";
1210 };
1311
14− buildInputs = [
15− python pygtk notify keybinder vte gettext intltool makeWrapper
16− ];
12+ propagatedBuildInputs = with pythonPackages; [ pygtk notify keybinder vte gettext intltool ];
1713
18− installPhase = ''
19− python setup.py --without-icon-cache install --prefix="$out"
14+ #setupPyBuildFlags = [ "--without-icon-cache" ];
2015
21− for file in "$out"/bin/*; do
22− wrapProgram "$file" \
23− --prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
24− done
25− '';
16+ doCheck = false;
2617
2718 meta = with stdenv.lib; {
2819 description = "Terminal emulator with support for tiling and tabs";