2012-01-12 20:00:35 +01:00
|
|
|
{stdenv, fetchurl, openssl, curl, ncurses, libjpeg
|
|
|
|
, withGpg ? true, gpgme ? null}:
|
2012-01-12 19:55:08 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-28 15:11:03 +01:00
|
|
|
version = "4.22.10";
|
|
|
|
debPatch = "2";
|
|
|
|
name = "centerim-${version}";
|
2012-01-12 19:55:08 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://centerim.org/download/releases/${name}.tar.gz";
|
|
|
|
sha256 = "0viz86jflp684vfginhl6aaw4gh2qvalc25anlwljjl3kkmibklk";
|
|
|
|
};
|
2013-02-28 15:11:03 +01:00
|
|
|
patches = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/c/centerim/centerim_${version}-${debPatch}.diff.gz";
|
|
|
|
sha256 = "18iz3hkvr31jsyznryvyldxm9ckyrpy9sczxikrnw2i2r1xyfj8m";
|
|
|
|
};
|
2012-01-12 19:55:08 +01:00
|
|
|
|
2012-01-12 20:00:35 +01:00
|
|
|
buildInputs = [ openssl curl ncurses libjpeg ]
|
|
|
|
++ stdenv.lib.optional withGpg gpgme;
|
2012-01-12 19:55:08 +01:00
|
|
|
|
2016-04-16 19:44:32 +02:00
|
|
|
configureFlags = [ "--with-openssl=${openssl.dev}" ];
|
2012-01-12 19:55:08 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.centerim.org/;
|
|
|
|
description = "Fork of CenterICQ, a curses instant messaging program";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-01-12 19:55:08 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|