git-cola: use qt5.wrapQtAppsHook

This commit is contained in:
Frederik Rietdijk 2019-07-25 14:55:57 +02:00
parent 706518f761
commit 92cb811455

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pythonPackages, gettext, git }:
{ stdenv, fetchFromGitHub, pythonPackages, gettext, git, qt5 }:
let
inherit (pythonPackages) buildPythonApplication pyqt5 sip pyinotify;
@ -16,9 +16,16 @@ in buildPythonApplication rec {
buildInputs = [ git gettext ];
propagatedBuildInputs = [ pyqt5 sip pyinotify ];
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
doCheck = false;
postFixup = ''
wrapQtApp bin/git-cola
wrapQtApp bin/git-dag
'';
meta = with stdenv.lib; {
homepage = https://github.com/git-cola/git-cola;
description = "A sleek and powerful Git GUI";