1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #23507 from ndowens/freetalk

freetalk: 4.0rc6 -> 4.1
This commit is contained in:
Michael Raskin 2017-03-05 07:30:24 +00:00 committed by GitHub
commit 36b238648e

View file

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