mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-28 16:17:42 +03:00
terminator: fix build and use buildPythonApplication
This commit is contained in:
parent
d8ef63fc73
commit
825c0d892a
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pythonPackages, keybinder, vte, gettext, intltool }:
|
{ stdenv, fetchurl, python2Packages, pango, keybinder, vte, gettext, intltool, file
|
||||||
|
}:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
python2Packages.buildPythonApplication rec {
|
||||||
name = "terminator-${version}";
|
name = "terminator-${version}";
|
||||||
version = "0.98";
|
version = "0.98";
|
||||||
|
|
||||||
@ -9,11 +10,19 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
sha256 = "1h965z06dsfk38byyhnsrscd9r91qm92ggwgjrh7xminzsgqqv8a";
|
sha256 = "1h965z06dsfk38byyhnsrscd9r91qm92ggwgjrh7xminzsgqqv8a";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [ pygtk notify keybinder vte gettext intltool ];
|
nativeBuildInputs = [ file intltool ];
|
||||||
|
|
||||||
#setupPyBuildFlags = [ "--without-icon-cache" ];
|
pythonPath = with python2Packages; [
|
||||||
|
pygtk pygobject2 vte keybinder notify gettext pango
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = false;
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
./run_tests
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Terminal emulator with support for tiling and tabs";
|
description = "Terminal emulator with support for tiling and tabs";
|
||||||
@ -25,7 +34,7 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
'';
|
'';
|
||||||
homepage = http://gnometerminator.blogspot.no/p/introduction.html;
|
homepage = http://gnometerminator.blogspot.no/p/introduction.html;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.bjornfor ];
|
maintainers = with maintainers; [ bjornfor globin ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user