From 01941c5155e1569d4edf8d4c64237d4472a3871a Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 24 Jan 2018 13:10:42 +0300 Subject: [PATCH] terminator: 1.0 -> 1.91 (#34218) * terminator: 1.0 -> 1.91 * terminator: wrapGAppsHook is a native build input --- pkgs/applications/misc/terminator/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/misc/terminator/default.nix b/pkgs/applications/misc/terminator/default.nix index e4b1d7f8c1bc..59ea70e3da2d 100644 --- a/pkgs/applications/misc/terminator/default.nix +++ b/pkgs/applications/misc/terminator/default.nix @@ -1,19 +1,22 @@ -{ stdenv, fetchurl, pythonPackages, pango, keybinder, vte, gettext, intltool, file +{ stdenv, fetchurl, pythonPackages, keybinder, vte, gettext, intltool, file, gtk3, gobjectIntrospection, cairo +, wrapGAppsHook, gnome3 }: pythonPackages.buildPythonApplication rec { name = "terminator-${version}"; - version = "1.0"; + version = "1.91"; src = fetchurl { - url = "https://launchpad.net/terminator/trunk/${version}/+download/${name}.tar.gz"; - sha256 = "1pfspcxsbax8a835kcld32fax6vcxsn1fmkny9zzvi4icplhkal8"; + url = "https://launchpad.net/terminator/gtk3/${version}/+download/${name}.tar.gz"; + sha256 = "95f76e3c0253956d19ceab2f8da709a496f1b9cf9b1c5b8d3cd0b6da3cc7be69"; }; - nativeBuildInputs = [ file intltool ]; + nativeBuildInputs = [ file intltool wrapGAppsHook ]; + buildInputs = [ gtk3 gnome3.vte gobjectIntrospection cairo ]; pythonPath = with pythonPackages; [ - pygtk pygobject2 vte keybinder notify gettext pango psutil + pygobject3 vte keybinder notify gettext psutil + pycairo ]; postPatch = ''