biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / networking / instant-messengers / freetalk / default.nix
blobe259c6b60f8d6b326e3523d6baacc4876b4dc1c9
1 { lib, stdenv, fetchurl
2 , guile, pkg-config, glib, loudmouth, gmp, libidn, readline, libtool
3 , libunwind, ncurses, curl, jansson, texinfo
4 , argp-standalone }:
5 stdenv.mkDerivation rec {
6   pname = "freetalk";
7   version = "4.2";
9   src = fetchurl {
10     url = "mirror://gnu/freetalk/freetalk-${version}.tar.gz";
11     hash = "sha256-u1tPKacGry+JGYeAIgDia3N7zs5EM4FyQZdV8e7htYA=";
12   };
14   nativeBuildInputs = [ pkg-config texinfo ];
15   buildInputs = [
16     guile glib loudmouth gmp libidn readline libtool
17     libunwind ncurses curl jansson
18   ] ++ lib.optionals stdenv.isDarwin [
19     argp-standalone
20   ];
22   env.NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-largp";
24   meta = with lib; {
25     description =  "Console XMPP client";
26     mainProgram = "freetalk";
27     license = licenses.gpl3Plus ;
28     maintainers = with maintainers; [ raskin ];
29     platforms = platforms.unix;
30     downloadPage = "https://www.gnu.org/software/freetalk/";
31   };