1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/applications/version-management/git-and-tools/qgit/default.nix

28 lines
655 B
Nix
Raw Normal View History

2016-04-17 00:42:02 +01:00
{ stdenv, fetchurl, qt4, qmake4Hook, libXext, libX11 }:
stdenv.mkDerivation rec {
2013-08-11 11:21:46 +01:00
name = "qgit-2.5";
2016-04-17 00:42:02 +01:00
meta =
{
license = stdenv.lib.licenses.gpl2;
2013-08-11 11:21:46 +01:00
homepage = "http://libre.tibirna.org/projects/qgit/wiki/QGit";
description = "Graphical front-end to Git";
2016-04-17 00:42:02 +01:00
inherit (qt4.meta) platforms;
};
2016-04-17 00:42:02 +01:00
src = fetchurl
{
2013-08-11 11:21:46 +01:00
url = "http://libre.tibirna.org/attachments/download/9/${name}.tar.gz";
sha256 = "25f1ca2860d840d87b9919d34fc3a1b05d4163671ed87d29c3e4a8a09e0b2499";
};
2016-04-17 00:42:02 +01:00
buildInputs = [ qt4 libXext libX11 ];
nativeBuildInputs = [ qmake4Hook ];
installPhase = ''
install -s -D -m 755 bin/qgit "$out/bin/qgit"
'';
}