3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/freetalk/default.nix
2016-06-03 17:17:08 +03:00

43 lines
1 KiB
Nix

{ 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="1wr3q40f4gwmr0vm6w07d5vzr65q6llk9xxq75klpcj83va5l3xv";
};
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;
};
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/";
};
}