terminator: 1.91 -> 1.92

This commit is contained in:
Stefan Frijters 2020-05-01 13:23:15 +02:00 committed by Bjørn Forsman
parent 2aebb2375c
commit 8855c3a1c7
2 changed files with 45 additions and 13 deletions

View File

@ -1,24 +1,56 @@
{ stdenv, fetchurl, python2, keybinder3, intltool, file, gtk3, gobject-introspection { stdenv
, libnotify, wrapGAppsHook, vte , fetchFromGitHub
, python
, keybinder3
, intltool
, file
, gtk3
, gobject-introspection
, libnotify
, wrapGAppsHook
, vte
}: }:
python2.pkgs.buildPythonApplication rec { python.pkgs.buildPythonApplication rec {
name = "terminator-${version}"; name = "terminator-${version}";
version = "1.91"; version = "1.92";
src = fetchurl { src = fetchFromGitHub {
url = "https://launchpad.net/terminator/gtk3/${version}/+download/${name}.tar.gz"; owner = "gnome-terminator";
sha256 = "95f76e3c0253956d19ceab2f8da709a496f1b9cf9b1c5b8d3cd0b6da3cc7be69"; repo = "terminator";
rev = "bb24273eb40dc5eac97de74064488701fa40a743";
sha256 = "105f660wzf9cpn24xzwaaa09igg5h3qhchafv190v5nqck6g1ssh";
}; };
nativeBuildInputs = [ file intltool wrapGAppsHook gobject-introspection ]; nativeBuildInputs = [
buildInputs = [ gtk3 vte libnotify keybinder3 file
gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943 intltool
gobject-introspection
wrapGAppsHook
];
buildInputs = [
gtk3
gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
keybinder3
libnotify
python
vte
];
propagatedBuildInputs = with python.pkgs; [
configobj
dbus-python
pygobject3
psutil
pycairo
]; ];
propagatedBuildInputs = with python2.pkgs; [ pygobject3 psutil pycairo ];
postPatch = '' postPatch = ''
patchShebangs . patchShebangs .
# dbus-python is correctly passed in propagatedBuildInputs, but for some reason setup.py complains.
# The wrapped terminator has the correct path added, so ignore this.
substituteInPlace setup.py --replace "'dbus-python'," ""
''; '';
checkPhase = '' checkPhase = ''
@ -33,7 +65,7 @@ python2.pkgs.buildPythonApplication rec {
quadkonsole, etc. in that the main focus is arranging terminals in grids quadkonsole, etc. in that the main focus is arranging terminals in grids
(tabs is the most common default method, which Terminator also supports). (tabs is the most common default method, which Terminator also supports).
''; '';
homepage = "https://gnometerminator.blogspot.no/p/introduction.html"; homepage = "https://github.com/gnome-terminator/terminator";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ bjornfor ]; maintainers = with maintainers; [ bjornfor ];
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -22034,7 +22034,7 @@ in
terminal-notifier = callPackage ../applications/misc/terminal-notifier {}; terminal-notifier = callPackage ../applications/misc/terminal-notifier {};
terminator = callPackage ../applications/misc/terminator { }; terminator = callPackage ../applications/misc/terminator { python = python3; };
terminus = callPackage ../applications/misc/terminus { }; terminus = callPackage ../applications/misc/terminus { };