2017-04-02 04:11:56 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pythonPackages, makeWrapper, gettext, git }:
|
2015-03-08 01:39:29 +01:00
|
|
|
|
2016-10-17 22:10:44 +02:00
|
|
|
let
|
|
|
|
inherit (pythonPackages) buildPythonApplication pyqt4 sip pyinotify python mock;
|
|
|
|
in buildPythonApplication rec {
|
2015-03-08 01:39:29 +01:00
|
|
|
name = "git-cola-${version}";
|
2017-08-01 20:48:21 +02:00
|
|
|
version = "2.11";
|
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}";
|
2017-08-01 20:48:21 +02:00
|
|
|
sha256 = "1prv8ib9jdkj5rgixj3hvkivwmbz5xvh8bmllrb1sb301yzi1s0g";
|
2015-03-08 01:39:29 +01:00
|
|
|
};
|
|
|
|
|
2017-04-02 04:11:56 +02:00
|
|
|
buildInputs = [ git gettext ];
|
2016-10-17 22:10:44 +02:00
|
|
|
propagatedBuildInputs = [ pyqt4 sip pyinotify ];
|
2015-03-08 01:39:29 +01:00
|
|
|
|
2016-10-17 22:10:44 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2015-03-08 01:39:29 +01: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 13:41:02 +02:00
|
|
|
platforms = platforms.linux;
|
2015-03-08 01:39:29 +01:00
|
|
|
maintainers = [ maintainers.bobvanderlinden ];
|
|
|
|
};
|
|
|
|
}
|