2014-10-07 06:55:50 +01:00
|
|
|
{ stdenv, fetchgit
|
|
|
|
, guile, pkgconfig, glib, loudmouth, gmp, libidn, readline, libtool
|
|
|
|
, libunwind, ncurses, curl, jansson, texinfo
|
|
|
|
, automake, autoconf
|
|
|
|
}:
|
2010-12-29 19:20:55 +00:00
|
|
|
|
2014-10-07 06:55:50 +01:00
|
|
|
let
|
|
|
|
s = rec {
|
2010-12-29 19:20:55 +00:00
|
|
|
baseName="freetalk";
|
2014-10-07 06:55:50 +01:00
|
|
|
version="4.0rc6";
|
2010-12-29 19:20:55 +00:00
|
|
|
name="${baseName}-${version}";
|
2014-10-07 06:55:50 +01:00
|
|
|
url="https://github.com/GNUFreetalk/freetalk";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256="0sj3bwq9n6ijwv552nmi038sz7wayq8r3zaj6ngn2cnkn2b5nwbz";
|
2010-12-29 19:20:55 +00:00
|
|
|
};
|
2014-10-07 06:55:50 +01:00
|
|
|
buildInputs = [
|
|
|
|
guile pkgconfig glib loudmouth gmp libidn readline libtool
|
|
|
|
libunwind ncurses curl jansson texinfo
|
|
|
|
autoconf automake
|
|
|
|
];
|
2010-12-29 19:20:55 +00:00
|
|
|
in
|
2014-10-07 06:55:50 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
2010-12-29 19:20:55 +00:00
|
|
|
inherit buildInputs;
|
2014-10-07 06:55:50 +01:00
|
|
|
src = fetchgit {
|
|
|
|
inherit (s) url rev sha256;
|
|
|
|
name = "git-export-${s.name}";
|
|
|
|
};
|
2010-12-29 19:20:55 +00:00
|
|
|
|
2014-10-07 06:55:50 +01:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs .
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
2010-12-29 19:20:55 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-10-07 06:55:50 +01:00
|
|
|
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/";
|
2010-12-29 19:20:55 +00:00
|
|
|
};
|
2014-10-07 06:55:50 +01:00
|
|
|
}
|