3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git-and-tools/qgit/default.nix

28 lines
663 B
Nix
Raw Normal View History

{stdenv, fetchurl, qt, libXext, libX11}:
stdenv.mkDerivation rec {
2013-08-11 11:21:46 +01:00
name = "qgit-2.5";
src = fetchurl {
2013-08-11 11:21:46 +01:00
url = "http://libre.tibirna.org/attachments/download/9/${name}.tar.gz";
sha256 = "25f1ca2860d840d87b9919d34fc3a1b05d4163671ed87d29c3e4a8a09e0b2499";
};
buildInputs = [qt libXext libX11];
hardening_format = false;
configurePhase = "qmake PREFIX=$out";
installPhase = ''
install -s -D -m 755 bin/qgit "$out/bin/qgit"
'';
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;
};
}