summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/freetalk/default.nix
blob: 320e7094d484b8abe9e0fb5ba899e3fa9ce542e8 (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
34
35
36
37
38
39
40
41
42
43
{ stdenv, fetchgit
, guile, pkgconfig, glib, loudmouth, gmp, libidn, readline, libtool
, libunwind, ncurses, curl, jansson, texinfo
, automake, autoconf
}:

let
  s = rec {
    baseName="freetalk";
    version="4.0rc6";
    name="${baseName}-${version}";
    url="https://github.com/GNUFreetalk/freetalk";
    rev = "refs/tags/v${version}";
    sha256="0sj3bwq9n6ijwv552nmi038sz7wayq8r3zaj6ngn2cnkn2b5nwbz";
  };
  buildInputs = [
    guile pkgconfig glib loudmouth gmp libidn readline libtool
    libunwind ncurses curl jansson texinfo
    autoconf automake
  ];
in
stdenv.mkDerivation {
  inherit (s) name version;
  inherit buildInputs;
  src = fetchgit {
    inherit (s) url rev sha256;
    name = "git-export-${s.name}";
  };

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

  meta = {
    inherit (s) version;
    description =  "Console XMPP client";
    license = stdenv.lib.licenses.gpl3Plus ;
    maintainers = [stdenv.lib.maintainers.raskin];
    platforms = stdenv.lib.platforms.linux;
    downloadPage = "http://www.gnu.org/software/freetalk/";
  };
}