2011-08-03 19:36:56 +01:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, libgadu, libXScrnSaver, libsndfile, libX11,
|
2011-08-04 22:04:19 +01:00
|
|
|
alsaLib, aspell, libidn, qca2, phonon }:
|
2010-09-28 23:37:44 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
2011-08-03 19:36:56 +01:00
|
|
|
name = "kadu-0.9.2";
|
2010-09-28 23:37:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-03 19:36:56 +01:00
|
|
|
url = http://www.kadu.net/download/stable/kadu-0.9.2.tar.bz2;
|
|
|
|
sha256 = "05lpx7m2adx8vv4h62rsiwlgay24m6cxdbibg7vzl4xkq9ybv30b";
|
2010-09-28 23:37:44 +01:00
|
|
|
};
|
2011-08-03 19:36:56 +01:00
|
|
|
|
2010-09-28 23:37:44 +01:00
|
|
|
buildInputs = [
|
2011-08-04 22:04:19 +01:00
|
|
|
cmake qt4 libgadu libXScrnSaver libsndfile libX11 alsaLib aspell libidn qca2 phonon
|
2010-09-28 23:37:44 +01:00
|
|
|
];
|
|
|
|
|
2011-08-03 19:36:56 +01:00
|
|
|
configureFlags = "CPPFLAGS=-DQT_NO_DEBUG";
|
|
|
|
|
|
|
|
cmakeFlags = "-DENABLE_AUTODOWNLOAD=OFF -DBUILD_DESCRIPTION='NixOS' -DCMAKE_BUILD_TYPE=Release";
|
2010-09-28 23:37:44 +01:00
|
|
|
|
2010-10-05 06:43:59 +01:00
|
|
|
prePatch = ''
|
|
|
|
patchShebangs .
|
2010-09-28 23:37:44 +01:00
|
|
|
'';
|
2011-08-03 19:36:56 +01:00
|
|
|
|
|
|
|
patches = [ ./config.patch ];
|
2010-09-28 23:37:44 +01:00
|
|
|
|
2011-01-27 23:49:00 +00:00
|
|
|
NIX_LDFLAGS="-lX11";
|
|
|
|
|
2011-08-03 19:36:56 +01:00
|
|
|
meta = {
|
|
|
|
description = "An instant-messenger client for the gadu-gadu network (most popular polish IM network)";
|
2010-09-28 23:37:44 +01:00
|
|
|
homepage = http://www.kadu.net/w/English:Main_Page;
|
|
|
|
license = "GPLv2";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-09-13 21:54:02 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.piotr ];
|
2010-09-28 23:37:44 +01:00
|
|
|
};
|
|
|
|
}
|