2008-07-07 12:48:24 +01:00
|
|
|
{stdenv, fetchurl, qt, libXext, libX11}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-07-09 10:08:22 +01:00
|
|
|
name = "qgit-2.3";
|
2008-07-07 12:48:24 +01:00
|
|
|
meta =
|
|
|
|
{
|
|
|
|
license = "GPLv2";
|
2008-07-07 12:54:45 +01:00
|
|
|
homepage = "http://digilander.libero.it/mcostalba/";
|
2008-07-07 12:48:24 +01:00
|
|
|
description = "Graphical front-end to Git";
|
2010-09-07 10:54:11 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2008-07-07 12:48:24 +01:00
|
|
|
};
|
|
|
|
src = fetchurl
|
|
|
|
{
|
2008-07-07 12:54:45 +01:00
|
|
|
url = "mirror://sourceforge/qgit/${name}.tar.bz2";
|
2009-07-09 10:08:22 +01:00
|
|
|
sha256 = "a5fdd7e27fea376790eed787e22f4863eb9d2fe0217fd98b9fdbcf47a45bdc64";
|
2008-07-07 12:48:24 +01:00
|
|
|
};
|
|
|
|
buildInputs = [qt libXext libX11];
|
2009-04-24 13:31:33 +01:00
|
|
|
configurePhase = "qmake PREFIX=$out";
|
|
|
|
installPhase = ''
|
|
|
|
install -s -D -m 755 bin/qgit "$out/bin/qgit"
|
|
|
|
'';
|
2008-07-07 12:48:24 +01:00
|
|
|
}
|