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

44 lines
1.1 KiB
Nix
Raw Normal View History

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