2008-07-07 13:48:24 +02:00
|
|
|
{stdenv, fetchurl, qt, libXext, libX11}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-08-11 12:21:46 +02:00
|
|
|
name = "qgit-2.5";
|
2008-07-07 13:48:24 +02:00
|
|
|
meta =
|
|
|
|
{
|
|
|
|
license = "GPLv2";
|
2013-08-11 12:21:46 +02:00
|
|
|
homepage = "http://libre.tibirna.org/projects/qgit/wiki/QGit";
|
2008-07-07 13:48:24 +02:00
|
|
|
description = "Graphical front-end to Git";
|
2010-09-15 20:52:07 +02:00
|
|
|
inherit (qt.meta) platforms;
|
2008-07-07 13:48:24 +02:00
|
|
|
};
|
|
|
|
src = fetchurl
|
|
|
|
{
|
2013-08-11 12:21:46 +02:00
|
|
|
url = "http://libre.tibirna.org/attachments/download/9/${name}.tar.gz";
|
|
|
|
sha256 = "25f1ca2860d840d87b9919d34fc3a1b05d4163671ed87d29c3e4a8a09e0b2499";
|
2008-07-07 13:48:24 +02:00
|
|
|
};
|
|
|
|
buildInputs = [qt libXext libX11];
|
2009-04-24 14:31:33 +02:00
|
|
|
configurePhase = "qmake PREFIX=$out";
|
|
|
|
installPhase = ''
|
|
|
|
install -s -D -m 755 bin/qgit "$out/bin/qgit"
|
|
|
|
'';
|
2008-07-07 13:48:24 +02:00
|
|
|
}
|