Adding 'gt5', a diff-capable 'du' browser

svn path=/nixpkgs/trunk/; revision=20236
This commit is contained in:
Lluís Batlle i Rossell 2010-02-24 19:06:25 +00:00
parent 7ec7268649
commit e668d2689e
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "gt5-1.4.0";
src = fetchurl {
url = "mirror://sourceforge/gt5/${name}.tar.gz";
sha256 = "0gm0gzyp4d9rxqddbaskbz5zvmlhyr4nyb5x9g7x4abyyxqjlnkq";
};
patchPhase = ''
sed 's/-o root -g root//' -i Makefile
'';
preConfigure = ''
makeFlags="$makeFlags PREFIX=$out"
'';
meta = {
description = "A diff-capable 'du' browser";
homepage = http://gt5.sourceforge.net/;
license = "GPLv2+";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}

View file

@ -867,6 +867,10 @@ let
inherit (gnome) libsoup;
};
gt5 = import ../tools/system/gt5 {
inherit fetchurl stdenv;
};
gtkgnutella = import ../tools/networking/p2p/gtk-gnutella {
inherit fetchurl stdenv pkgconfig libxml2;
inherit (gtkLibs) glib gtk;