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