about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/instant-messengers/freetalk/default.nix
blob: ea793e3c0aac3d1bef2c420f55f7ec80f1f4c759 (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
24
25
26
27
28
29
30
31
32
33
{ stdenv, fetchFromGitHub
, guile, pkgconfig, glib, loudmouth, gmp, libidn, readline, libtool
, libunwind, ncurses, curl, jansson, texinfo
, automake, autoconf }:
stdenv.mkDerivation rec {
  name = "freetalk-${version}";
  version = "4.1";
  
  src = fetchFromGitHub {
    owner = "GNUFreetalk";
    repo = "freetalk";
    rev = "v${version}";
    sha256 = "09jwk2i8qd8c7wrn9xbqcwm32720dwxis22kf3jpbg8mn6w6i757";
  };

  preConfigure = ''
    ./autogen.sh
  '';

  nativeBuildInputs = [ pkgconfig texinfo autoconf automake ];
  buildInputs = [
    guile glib loudmouth gmp libidn readline libtool
    libunwind ncurses curl jansson
  ];

  meta = with stdenv.lib; {
    description =  "Console XMPP client";
    license = licenses.gpl3Plus ;
    maintainers = with maintainers; [ raskin ];
    platforms = platforms.linux;
    downloadPage = "https://www.gnu.org/software/freetalk/";
  };
}