2010-10-05 07:43:59 +02:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, libgadu, libXScrnSaver, libsndfile, qca2
|
|
|
|
, libX11, alsaLib }:
|
2010-09-29 00:37:44 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
|
|
|
name = "kadu-0.6.5.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.kadu.net/download/stable/kadu-0.6.5.4.tar.bz2;
|
|
|
|
sha256 = "09bdcyx75lca1pl6x3vfpawmdjn5pfxvwivb9xdhk4bdvswxgv4x";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2010-10-05 07:43:59 +02:00
|
|
|
cmake qt4 libgadu libXScrnSaver libsndfile qca2 libX11 alsaLib
|
2010-09-29 00:37:44 +02:00
|
|
|
];
|
|
|
|
|
2010-10-05 07:43:59 +02:00
|
|
|
cmakeFlags = "-DENABLE_AUTODOWNLOAD=OFF";
|
2010-09-29 00:37:44 +02:00
|
|
|
|
2010-10-05 07:43:59 +02:00
|
|
|
prePatch = ''
|
|
|
|
patchShebangs .
|
2010-09-29 00:37:44 +02:00
|
|
|
'';
|
2011-01-28 00:45:06 +01:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
./includes.patch
|
|
|
|
];
|
2010-09-29 00:37:44 +02:00
|
|
|
|
2011-01-28 00:49:00 +01:00
|
|
|
NIX_LDFLAGS="-lX11";
|
|
|
|
|
2010-09-29 00:37:44 +02:00
|
|
|
meta = {
|
|
|
|
description = "An instance messanger client for the gadu-gadu network (most popular polish IM network)";
|
|
|
|
homepage = http://www.kadu.net/w/English:Main_Page;
|
|
|
|
license = "GPLv2";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|