git-cola: 2.5 -> 2.8

This commit is contained in:
Frederik Rietdijk 2016-10-17 22:10:44 +02:00
parent f7215aeb01
commit 9b68f4272c

View file

@ -1,16 +1,18 @@
{ stdenv, fetchurl, python, pythonPackages, makeWrapper, gettext }:
{ stdenv, fetchurl, pythonPackages, makeWrapper, gettext, git }:
pythonPackages.buildPythonApplication rec {
let
inherit (pythonPackages) buildPythonApplication pyqt4 sip pyinotify python mock;
in buildPythonApplication rec {
name = "git-cola-${version}";
version = "2.5";
version = "2.8";
src = fetchurl {
url = "https://github.com/git-cola/git-cola/archive/v${version}.tar.gz";
sha256 = "0ybjmlwm1plnvqi20y91ci7sgldzwlwn86vyyn9a157h7lf4ngb8";
sha256 = "19ff7i0h5fznrkm17lp3xkxwkq27whhiil6y6bm16b1wny5hjqlr";
};
buildInputs = [ makeWrapper gettext ];
propagatedBuildInputs = with pythonPackages; [ pyqt4 sip pyinotify ];
buildInputs = [ git makeWrapper gettext ];
propagatedBuildInputs = [ pyqt4 sip pyinotify ];
# HACK: wrapPythonPrograms adds 'import sys; sys.argv[0] = "git-cola"', but
# "import __future__" must be placed above that. This removes the argv[0] line.
@ -26,6 +28,8 @@ pythonPackages.buildPythonApplication rec {
}'
'';
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/git-cola/git-cola;
description = "A sleek and powerful Git GUI";