2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages, gettext, git, qt5 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
2022-08-12 12:06:08 +00:00
|
|
|
inherit (python3Packages) buildPythonApplication pyqt5 sip_4 pyinotify qtpy;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
in buildPythonApplication rec {
|
|
|
|
pname = "git-cola";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "4.0.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "git-cola";
|
|
|
|
repo = "git-cola";
|
2022-09-30 11:47:45 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2022-11-21 17:40:18 +00:00
|
|
|
hash = "sha256-w3SbuquHuWTYg1N3kcix4S5vrsmclVSrHf6uv8CYU6w=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ git gettext ];
|
2022-08-12 12:06:08 +00:00
|
|
|
propagatedBuildInputs = [ pyqt5 sip_4 pyinotify qtpy ];
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/git-cola/git-cola";
|
|
|
|
description = "A sleek and powerful Git GUI";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bobvanderlinden ];
|
|
|
|
};
|
|
|
|
}
|