nixpkgs/pkgs/applications/networking/instant-messengers/freetalk/default.nix
Vika bed7172639 freetalk: fixed cross-compilation
Some build-time and run-time dependencies were mixed. I put them in a right place!
2019-08-21 18:28:56 +03:00

34 lines
891 B
Nix

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