2022-05-07 11:10:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch
|
2021-01-17 02:09:27 +00:00
|
|
|
, guile, pkg-config, glib, loudmouth, gmp, libidn, readline, libtool
|
2014-10-07 05:55:50 +00:00
|
|
|
, libunwind, ncurses, curl, jansson, texinfo
|
2019-08-21 15:28:56 +00:00
|
|
|
, automake, autoconf }:
|
2017-03-05 02:17:10 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "freetalk";
|
2017-03-05 02:17:10 +00:00
|
|
|
version = "4.1";
|
2021-01-17 02:09:27 +00:00
|
|
|
|
2017-03-05 02:17:10 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GNUFreetalk";
|
|
|
|
repo = "freetalk";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "09jwk2i8qd8c7wrn9xbqcwm32720dwxis22kf3jpbg8mn6w6i757";
|
2014-10-07 05:55:50 +00:00
|
|
|
};
|
2010-12-29 19:20:55 +00:00
|
|
|
|
2022-05-07 11:10:19 +00:00
|
|
|
patches = [
|
|
|
|
# Pull pending patch for -fno-common tuulchain support:
|
|
|
|
# https://github.com/GNUFreetalk/freetalk/pull/39
|
|
|
|
(fetchpatch {
|
|
|
|
name = "fno-common.patch";
|
|
|
|
url = "https://github.com/GNUFreetalk/freetalk/commit/f04d6bc8422be44cdf51b29c9a4310f20a18775a.patch";
|
|
|
|
sha256 = "1zjm56cdibnqabgcwl2bx79dj6dmqjf40zghqwwb0lfi60v1njqf";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2014-10-07 05:55:50 +00:00
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
2010-12-29 19:20:55 +00:00
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config texinfo autoconf automake ];
|
2019-08-21 15:28:56 +00:00
|
|
|
buildInputs = [
|
2017-09-14 19:24:37 +00:00
|
|
|
guile glib loudmouth gmp libidn readline libtool
|
2019-08-21 15:28:56 +00:00
|
|
|
libunwind ncurses curl jansson
|
2017-03-05 02:17:10 +00:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-10-07 05:55:50 +00:00
|
|
|
description = "Console XMPP client";
|
2017-03-05 02:17:10 +00:00
|
|
|
license = licenses.gpl3Plus ;
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
2018-12-01 18:22:13 +00:00
|
|
|
downloadPage = "https://www.gnu.org/software/freetalk/";
|
2010-12-29 19:20:55 +00:00
|
|
|
};
|
2014-10-07 05:55:50 +00:00
|
|
|
}
|