2017-04-02 03:11:56 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pythonPackages, makeWrapper, gettext, git }:
|
2015-03-08 00:39:29 +00:00
|
|
|
|
2016-10-17 21:10:44 +01:00
|
|
|
let
|
2018-05-11 17:31:49 +01:00
|
|
|
inherit (pythonPackages) buildPythonApplication pyqt5 sip pyinotify python mock;
|
2016-10-17 21:10:44 +01:00
|
|
|
in buildPythonApplication rec {
|
2015-03-08 00:39:29 +00:00
|
|
|
name = "git-cola-${version}";
|
2018-04-30 23:59:34 +01:00
|
|
|
version = "3.1";
|
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}";
|
2018-04-30 23:59:34 +01:00
|
|
|
sha256 = "1xzm8694zndl2pb4nanzhldn7wrsc1gjd5ldjncidw1msp9fczq1";
|
2015-03-08 00:39:29 +00:00
|
|
|
};
|
|
|
|
|
2017-04-02 03:11:56 +01:00
|
|
|
buildInputs = [ git gettext ];
|
2018-05-11 17:31:49 +01:00
|
|
|
propagatedBuildInputs = [ pyqt5 sip pyinotify ];
|
2015-03-08 00:39:29 +00:00
|
|
|
|
2016-10-17 21:10:44 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2015-03-08 00:39:29 +00: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 12:41:02 +01:00
|
|
|
platforms = platforms.linux;
|
2015-03-08 00:39:29 +00:00
|
|
|
maintainers = [ maintainers.bobvanderlinden ];
|
|
|
|
};
|
|
|
|
}
|