mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 17:39:34 +00:00
qdu: fix bad formatting.
svn path=/nixpkgs/trunk/; revision=22054
This commit is contained in:
parent
b50f4cabcc
commit
95683bb7c7
|
@ -1,25 +1,27 @@
|
||||||
{stdenv, fetchurl, qt3, libXext, libX11}:
|
{stdenv, fetchurl, qt3, libXext, libX11}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
name = "qdu-2.2";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://artis.imag.fr/~Gilles.Debunne/Code/QDU/qdu-2.2.tar.gz;
|
url = http://artis.imag.fr/~Gilles.Debunne/Code/QDU/qdu-2.2.tar.gz;
|
||||||
sha256 = "0nn13lcw7bpasdn5xd0ydkyzirz9zamgl8lizi3ncqdzv8bjm7xl";
|
sha256 = "0nn13lcw7bpasdn5xd0ydkyzirz9zamgl8lizi3ncqdzv8bjm7xl";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt3 libXext libX11];
|
buildInputs = [ qt3 libXext libX11 ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i "s@/usr/bin@$out/bin@" qdu.pro
|
sed -i "s@/usr/bin@$out/bin@" qdu.pro
|
||||||
sed -i "s@hint>directoryview@hint>directoryView@g" qduInterface.ui
|
sed -i "s@hint>directoryview@hint>directoryView@g" qduInterface.ui
|
||||||
'';
|
'';
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
qmake
|
qmake
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
'';
|
'';
|
||||||
|
|
||||||
name = "qdu-2.2";
|
meta = {
|
||||||
meta = { homepage = "http://freshmeat.net/redir/qdu/38383/url_homepage/QDU";
|
homepage = "http://artis.imag.fr/~Gilles.Debunne/Code/QDU";
|
||||||
description = "A graphical disk usage tool based on Qt";
|
description = "A graphical disk usage tool based on Qt";
|
||||||
license="GPL";
|
license="GPL";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue