mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
git-cola: use qt5.wrapQtAppsHook
This commit is contained in:
parent
706518f761
commit
92cb811455
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user