add qdu: a graphical disk usage based on qt.
svn path=/nixpkgs/trunk/; revision=22021
This commit is contained in:
parent
8f19675cff
commit
8a8a0327ff
25
pkgs/tools/misc/qdu/default.nix
Normal file
25
pkgs/tools/misc/qdu/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{stdenv, fetchurl, qt3, libXext, libX11}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://artis.imag.fr/~Gilles.Debunne/Code/QDU/qdu-2.2.tar.gz;
|
||||||
|
sha256 = "0nn13lcw7bpasdn5xd0ydkyzirz9zamgl8lizi3ncqdzv8bjm7xl";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ qt3 libXext libX11];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i "s@/usr/bin@$out/bin@" qdu.pro
|
||||||
|
sed -i "s@hint>directoryview@hint>directoryView@g" qduInterface.ui
|
||||||
|
'';
|
||||||
|
buildPhase = ''
|
||||||
|
qmake
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
'';
|
||||||
|
|
||||||
|
name = "qdu-2.2";
|
||||||
|
meta = { homepage = "http://freshmeat.net/redir/qdu/38383/url_homepage/QDU";
|
||||||
|
description = "A graphical disk usage tool based on Qt";
|
||||||
|
license="GPL";
|
||||||
|
};
|
||||||
|
}
|
@ -1484,6 +1484,11 @@ let
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
qdu = import ../tools/misc/qdu {
|
||||||
|
inherit stdenv fetchurl qt3;
|
||||||
|
inherit (xlibs) libX11 libXext;
|
||||||
|
};
|
||||||
|
|
||||||
qhull = import ../development/libraries/qhull {
|
qhull = import ../development/libraries/qhull {
|
||||||
inherit stdenv fetchurl;
|
inherit stdenv fetchurl;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user