nixpkgs/pkgs/tools/system/filelight/default.nix
Eelco Dolstra fcad0b0a5a * Cleaned up a lot of description fields that contained newlines.
Some of these should be longDescriptions, but most others just
  shouldn't contain newlines.  E.g. write

    description = "Bla";

  and not

    description = ''
      Bla
    '';

  This pollutes "nix-env -qa --description" output.

svn path=/nixpkgs/trunk/; revision=14310
2009-03-03 13:27:40 +00:00

24 lines
633 B
Nix

{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";
};
}