From 2d85463e7d93d2ccbb5a0dca02aa9060897a6529 Mon Sep 17 00:00:00 2001 From: Cillian de Roiste Date: Fri, 1 Jun 2012 22:04:08 +0000 Subject: [PATCH] Applying patch from Rok Garbas to update weechat to 0.3.7, also taking the opportunity to tidy up the style a bit. svn path=/nixpkgs/trunk/; revision=34318 --- .../networking/irc/weechat/default.nix | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix index a9cf07a0b123..0fd521b9cce0 100644 --- a/pkgs/applications/networking/irc/weechat/default.nix +++ b/pkgs/applications/networking/irc/weechat/default.nix @@ -1,18 +1,26 @@ -{stdenv, fetchurl, ncurses, openssl, perl, python, aspell}: +{ stdenv, fetchurl, ncurses, openssl, perl, python, aspell, gnutls +, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile }: -stdenv.mkDerivation { - name = "weechat-0.3.2"; +stdenv.mkDerivation rec { + version = "0.3.7"; + name = "weechat-${version}"; src = fetchurl { - url = http://weechat.org/files/src/weechat-0.3.2.tar.gz; - sha256 = "0ds548fmiv2fg69amhyg1v1rgyw51rqlp64p3rmsbm1lkcwwmivc"; + url = "http://weechat.org/files/src/${name}.tar.gz"; + sha256 = "1bphyhx5rnirga5l42z4lijw68qx724gffic1z60jdwfxc5dxknl"; }; - buildInputs = [ncurses perl python openssl aspell]; + buildInputs = + [ ncurses perl python openssl aspell gnutls zlib curl pkgconfig + libgcrypt ruby lua5 tcl guile + ]; meta = { homepage = http://http://www.weechat.org/; description = "A fast, light and extensible chat client"; + license = stdenv.lib.licenses.gpl3; + maintainers = [ stdenv.lib.maintainers.garbas ]; + platforms = stdenv.lib.platforms.linux; }; } - +