nixpkgs/pkgs/applications/networking/instant-messengers/centerim/default.nix
Lluís Batlle i Rossell 1c186a3207 Making 'withGpg' optional in centerim.
svn path=/nixpkgs/trunk/; revision=31504
2012-01-12 19:00:35 +00:00

24 lines
654 B
Nix

{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;
};
}