2011-08-03 20:36:56 +02:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, libgadu, libXScrnSaver, libsndfile, libX11,
|
2011-08-04 23:04:19 +02:00
|
|
|
alsaLib, aspell, libidn, qca2, phonon }:
|
2010-09-29 00:37:44 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
2011-09-20 00:04:03 +02:00
|
|
|
name = "kadu-0.10.0";
|
2010-09-29 00:37:44 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-09-20 00:04:03 +02:00
|
|
|
url = http://www.kadu.net/download/stable/kadu-0.10.0.tar.bz2;
|
|
|
|
sha256 = "039dx8y6vzqmv86prk1srmi7fvxlrbisyd6rcfs0gv497bfi1995";
|
2010-09-29 00:37:44 +02:00
|
|
|
};
|
2011-08-03 20:36:56 +02:00
|
|
|
|
2011-09-20 00:04:03 +02:00
|
|
|
buildInputs = [ cmake qt4 libgadu libXScrnSaver libsndfile libX11 alsaLib aspell libidn qca2 phonon
|
2010-09-29 00:37:44 +02:00
|
|
|
];
|
|
|
|
|
2011-08-03 20:36:56 +02:00
|
|
|
configureFlags = "CPPFLAGS=-DQT_NO_DEBUG";
|
|
|
|
|
|
|
|
cmakeFlags = "-DENABLE_AUTODOWNLOAD=OFF -DBUILD_DESCRIPTION='NixOS' -DCMAKE_BUILD_TYPE=Release";
|
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-08-03 20:36:56 +02:00
|
|
|
|
2011-09-20 00:04:03 +02:00
|
|
|
# because I was not able to get those working
|
|
|
|
patches = [ ./disable_encryption_plugins.patch ];
|
2010-09-29 00:37:44 +02:00
|
|
|
|
2011-01-28 00:49:00 +01:00
|
|
|
NIX_LDFLAGS="-lX11";
|
|
|
|
|
2011-08-03 20:36:56 +02:00
|
|
|
meta = {
|
|
|
|
description = "An instant-messenger client for the gadu-gadu network (most popular polish IM network)";
|
2010-09-29 00:37:44 +02:00
|
|
|
homepage = http://www.kadu.net/w/English:Main_Page;
|
|
|
|
license = "GPLv2";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-09-13 22:54:02 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.piotr ];
|
2010-09-29 00:37:44 +02:00
|
|
|
};
|
|
|
|
}
|