summary refs log tree commit diff
path: root/pkgs/tools/system/filelight/default.nix
blob: 872c56f700ea89a06be99a4f3bab755538536565 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, fetchurl, kdelibs, qt, x11, zlib, perl, libpng}:

stdenv.mkDerivation {
  name = "filelight-1.0";

  src = fetchurl {
    url = http://www.methylblue.com/filelight/packages/filelight-1.0.tar.bz2;
    sha256 = "1mj5q8i818b6qlmjgfk984agp9n72pxi7p7caixzmcm1c2gd8hq7";
  };

  buildInputs = [kdelibs qt x11 zlib perl libpng];
  
  configureFlags = "--without-debug --without-arts";
  
  preConfigure = ''
    sed -e '/sys_lib_\(dl\)\{0,1\}search_path_spec=/d' -i configure
    sed -e '/X_LDFLAGS=/d' -i configure
  '';

  meta = {
    description = "A tool for analysing which directories and files eat your disk space";
  };
}