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