Merge pull request #23507 from ndowens/freetalk
freetalk: 4.0rc6 -> 4.1
This commit is contained in:
commit
36b238648e
|
@ -1,42 +1,35 @@
|
||||||
{ stdenv, fetchgit
|
{ stdenv, fetchFromGitHub
|
||||||
, guile, pkgconfig, glib, loudmouth, gmp, libidn, readline, libtool
|
, guile, pkgconfig, glib, loudmouth, gmp, libidn, readline, libtool
|
||||||
, libunwind, ncurses, curl, jansson, texinfo
|
, libunwind, ncurses, curl, jansson, texinfo
|
||||||
, automake, autoconf
|
, automake, autoconf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
s = rec {
|
name = "freetalk-${version}";
|
||||||
baseName="freetalk";
|
version = "4.1";
|
||||||
version="4.0rc6";
|
|
||||||
name="${baseName}-${version}";
|
src = fetchFromGitHub {
|
||||||
url="https://github.com/GNUFreetalk/freetalk";
|
owner = "GNUFreetalk";
|
||||||
rev = "refs/tags/v${version}";
|
repo = "freetalk";
|
||||||
sha256="1wr3q40f4gwmr0vm6w07d5vzr65q6llk9xxq75klpcj83va5l3xv";
|
rev = "v${version}";
|
||||||
|
sha256 = "09jwk2i8qd8c7wrn9xbqcwm32720dwxis22kf3jpbg8mn6w6i757";
|
||||||
};
|
};
|
||||||
buildInputs = [
|
|
||||||
|
preConfigure = ''
|
||||||
|
./autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
guile pkgconfig glib loudmouth gmp libidn readline libtool
|
guile pkgconfig glib loudmouth gmp libidn readline libtool
|
||||||
libunwind ncurses curl jansson texinfo
|
libunwind ncurses curl jansson texinfo
|
||||||
autoconf automake
|
autoconf automake
|
||||||
];
|
];
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
inherit (s) name version;
|
|
||||||
inherit buildInputs;
|
|
||||||
src = fetchgit {
|
|
||||||
inherit (s) url rev sha256;
|
|
||||||
};
|
|
||||||
|
|
||||||
preConfigure = ''
|
meta = with stdenv.lib; {
|
||||||
patchShebangs .
|
|
||||||
./autogen.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
inherit (s) version;
|
|
||||||
description = "Console XMPP client";
|
description = "Console XMPP client";
|
||||||
license = stdenv.lib.licenses.gpl3Plus ;
|
license = licenses.gpl3Plus ;
|
||||||
maintainers = [stdenv.lib.maintainers.raskin];
|
maintainers = with maintainers; [ raskin ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
downloadPage = "http://www.gnu.org/software/freetalk/";
|
downloadPage = "http://www.gnu.org/software/freetalk/";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue