qgit: move to qmake4Hook
This commit is contained in:
parent
661641aeb7
commit
a4e868a102
@ -1,21 +1,26 @@
|
||||
{stdenv, fetchurl, qt, libXext, libX11}:
|
||||
{ stdenv, fetchurl, qt4, qmake4Hook, libXext, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qgit-2.5";
|
||||
|
||||
meta =
|
||||
{
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
homepage = "http://libre.tibirna.org/projects/qgit/wiki/QGit";
|
||||
description = "Graphical front-end to Git";
|
||||
inherit (qt.meta) platforms;
|
||||
inherit (qt4.meta) platforms;
|
||||
};
|
||||
|
||||
src = fetchurl
|
||||
{
|
||||
url = "http://libre.tibirna.org/attachments/download/9/${name}.tar.gz";
|
||||
sha256 = "25f1ca2860d840d87b9919d34fc3a1b05d4163671ed87d29c3e4a8a09e0b2499";
|
||||
};
|
||||
buildInputs = [qt libXext libX11];
|
||||
configurePhase = "qmake PREFIX=$out";
|
||||
|
||||
buildInputs = [ qt4 libXext libX11 ];
|
||||
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
installPhase = ''
|
||||
install -s -D -m 755 bin/qgit "$out/bin/qgit"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user