nixpkgs/pkgs/applications/networking/instant-messengers/freetalk/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
938 B
Nix
Raw Normal View History

2023-08-04 15:30:09 +00:00
{ lib, stdenv, fetchurl
, guile, pkg-config, glib, loudmouth, gmp, libidn, readline, libtool
2014-10-07 05:55:50 +00:00
, libunwind, ncurses, curl, jansson, texinfo
2023-08-04 15:30:09 +00:00
, argp-standalone }:
2017-03-05 02:17:10 +00:00
stdenv.mkDerivation rec {
pname = "freetalk";
2023-08-04 15:30:09 +00:00
version = "4.2";
2023-08-04 15:30:09 +00:00
src = fetchurl {
url = "mirror://gnu/freetalk/freetalk-${version}.tar.gz";
hash = "sha256-u1tPKacGry+JGYeAIgDia3N7zs5EM4FyQZdV8e7htYA=";
2014-10-07 05:55:50 +00:00
};
2023-08-04 15:30:09 +00:00
nativeBuildInputs = [ pkg-config texinfo ];
buildInputs = [
guile glib loudmouth gmp libidn readline libtool
libunwind ncurses curl jansson
2023-08-04 15:30:09 +00:00
] ++ lib.optionals stdenv.isDarwin [
argp-standalone
2017-03-05 02:17:10 +00:00
];
2023-08-04 15:30:09 +00:00
env.NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-largp";
meta = with lib; {
2014-10-07 05:55:50 +00:00
description = "Console XMPP client";
mainProgram = "freetalk";
2017-03-05 02:17:10 +00:00
license = licenses.gpl3Plus ;
maintainers = with maintainers; [ raskin ];
2023-08-04 15:30:09 +00:00
platforms = platforms.unix;
downloadPage = "https://www.gnu.org/software/freetalk/";
};
2014-10-07 05:55:50 +00:00
}