1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/misc/qdu/default.nix
David Guibert 95683bb7c7 qdu: fix bad formatting.
svn path=/nixpkgs/trunk/; revision=22054
2010-05-29 12:33:24 +00:00

28 lines
652 B
Nix

{stdenv, fetchurl, qt3, libXext, libX11}:
stdenv.mkDerivation {
name = "qdu-2.2";
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
'';
meta = {
homepage = "http://artis.imag.fr/~Gilles.Debunne/Code/QDU";
description = "A graphical disk usage tool based on Qt";
license="GPL";
};
}