summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/centerim/default.nix
blob: 6a608e8d9502dde474c8d52c61eafc78a9bb5ec5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, fetchurl, openssl, curl, ncurses, libjpeg
, withGpg ? true, gpgme ? null}:

stdenv.mkDerivation rec {
  name = "centerim-4.22.10";

  src = fetchurl {
    url = "http://centerim.org/download/releases/${name}.tar.gz";
    sha256 = "0viz86jflp684vfginhl6aaw4gh2qvalc25anlwljjl3kkmibklk";
  };

  buildInputs = [ openssl curl ncurses libjpeg ]
    ++ stdenv.lib.optional withGpg gpgme;

  configureFlags = [ "--with-openssl=${openssl}" ];

  meta = {
    homepage = http://www.centerim.org/;
    description = "Fork of CenterICQ, a curses instant messaging program";
    license = "GPLv2+";
    platforms = with stdenv.lib.platforms; linux;
  };
}