{stdenv, fetchurl, lib, cmake, qt4, perl, gettext, kdelibs, automoc4, phonon}:

stdenv.mkDerivation {
  name = "krusader-2.0.0";
  src = fetchurl {
    url = mirror://sourceforge/krusader/krusader-2.0.0.tar.gz;
    sha256 = "dc74c47d6eaf1c28165a74750e5a1b0341fa1c0d436658d0d5f85a6149f4852c";
  };
  buildInputs = [ cmake qt4 perl gettext kdelibs automoc4 phonon ];
  patches = [./krusader-gcc44.patch];
  meta = {
    description = "Norton/Total Commander clone for KDE";
    license = "GPL";
    homepage = http://www.krusader.org;
    maintainers = [ lib.maintainers.sander ];
  };
}

{stdenv, fetchurl, cmake, qt4, perl, gettext, kdelibs, kdebase, automoc4, phonon}:

stdenv.mkDerivation rec {
  name = "krusader-2.2.0-beta1";
  src = fetchurl {
    url = "mirror://sourceforge/krusader/${name}.tar.bz2";
    sha256 = "0rbk0hw8p1bb03w74gspljbzhvpbs3dcr6ckp38gh5r80mcmqfbs";
  };
  buildInputs = [ cmake qt4 perl gettext kdelibs automoc4 phonon kdebase ];
  meta = {
    description = "Norton/Total Commander clone for KDE";
    license = "GPL";
    homepage = http://www.krusader.org;
    maintainers = with stdenv.lib.maintainers; [ sander urkud ];
  };
}

Upgrade krusader to 2.2.0-beta1. 2.0.0 fails to compile with new qt
Upgrade krusader to 2.2.0-beta1. 2.0.0 fails to compile with new qt

svn path=/nixpkgs/trunk/; revision=24223
