nixpkgs/pkgs/desktops/kde-4.3/extragear/konversation/default.nix
Sander van der Burg 4232caa53f Added konversation for KDE 4.x package
svn path=/nixpkgs/trunk/; revision=17741
2009-10-10 12:51:51 +00:00

24 lines
819 B
Nix

{ stdenv, fetchurl, lib, cmake, qt4, perl, gettext, libXScrnSaver
, kdelibs, kdepimlibs, automoc4, phonon, qca2}:
stdenv.mkDerivation {
name = "konversation";
src = fetchurl {
url = mirror://kde/stable/konversation/1.2/src/konversation-1.2.tar.bz2;
sha256 = "16plhy7m8sch52a8hyzsqgc10wj4lgygqbwicfssbad7l6j2a935";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake qt4 perl gettext stdenv.gcc.libc libXScrnSaver kdelibs kdepimlibs automoc4 phonon qca2 ];
patchPhase = ''
echo "include_directories(${qt4}/include/QtGui)" > tmp
cp src/CMakeLists.txt src/CMakeLists.bak
cat tmp src/CMakeLists.bak > src/CMakeLists.txt
'';
meta = {
description = "Integrated IRC client for KDE";
license = "GPL";
maintainers = [ lib.maintainers.sander ];
};
}