2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages, gettext, git, qt5 }:
|
2015-03-08 00:39:29 +00:00
|
|
|
|
2016-10-17 21:10:44 +01:00
|
|
|
let
|
2021-05-03 12:43:20 +01:00
|
|
|
inherit (python3Packages) buildPythonApplication pyqt5 sip_4 pyinotify;
|
2018-12-30 15:21:38 +00:00
|
|
|
|
2016-10-17 21:10:44 +01:00
|
|
|
in buildPythonApplication rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "git-cola";
|
2022-01-21 07:32:03 +00:00
|
|
|
version = "3.12.0";
|
2015-03-08 00:39:29 +00:00
|
|
|
|
2017-04-02 03:11:56 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "git-cola";
|
|
|
|
repo = "git-cola";
|
|
|
|
rev = "v${version}";
|
2022-01-21 07:32:03 +00:00
|
|
|
sha256 = "1f8jpfa916nszj431cmp41bxj2m76k2n8qnscqgxrc0k3pnnp3wc";
|
2015-03-08 00:39:29 +00:00
|
|
|
};
|
|
|
|
|
2017-04-02 03:11:56 +01:00
|
|
|
buildInputs = [ git gettext ];
|
2021-05-03 12:43:20 +01:00
|
|
|
propagatedBuildInputs = [ pyqt5 sip_4 pyinotify ];
|
2019-07-25 13:55:57 +01:00
|
|
|
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
2015-03-08 00:39:29 +00:00
|
|
|
|
2016-10-17 21:10:44 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-07-12 22:10:48 +01:00
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
2019-07-25 13:55:57 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/git-cola/git-cola";
|
2015-03-08 00:39:29 +00:00
|
|
|
description = "A sleek and powerful Git GUI";
|
|
|
|
license = licenses.gpl2;
|
2015-05-08 12:41:02 +01:00
|
|
|
platforms = platforms.linux;
|
2015-03-08 00:39:29 +00:00
|
|
|
maintainers = [ maintainers.bobvanderlinden ];
|
|
|
|
};
|
|
|
|
}
|