From 8f5ebe495ca2a298456faf87fdf0be77761e9cb1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 30 Apr 2014 17:02:12 +0200 Subject: [PATCH] chatzilla: Update to 0.9.90.1 Also, make it work with recent Firefoxes. --- .../networking/irc/chatzilla/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/irc/chatzilla/default.nix b/pkgs/applications/networking/irc/chatzilla/default.nix index 5d16c979f6a2..2010d064f0d9 100644 --- a/pkgs/applications/networking/irc/chatzilla/default.nix +++ b/pkgs/applications/networking/irc/chatzilla/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, unzip, xulrunner, makeWrapper }: stdenv.mkDerivation rec { - name = "chatzilla-0.9.88"; - + name = "chatzilla-0.9.90.1"; + src = fetchurl { # Obtained from http://chatzilla.rdmsoft.com/xulrunner/. - url = "http://chatzilla.rdmsoft.com/xulrunner/download/${name}-xr.zip"; - sha256 = "041jpjl7wnbhqm2f8bf2pwp6igjapmy74swac94h54n644wl5nz0"; + url = "http://chatzilla.rdmsoft.com/xulrunner/download/${name}.en-US.xulapp"; + sha256 = "0z38jig91h10cb14rvs30rpg2pgn3v890nyxyy8lxzbv5ncxmngw"; }; buildInputs = [ unzip makeWrapper ]; @@ -17,10 +17,14 @@ stdenv.mkDerivation rec { makeWrapper ${xulrunner}/bin/xulrunner $out/bin/chatzilla \ --add-flags $out/libexec/chatzilla/application.ini + + sed -i $out/libexec/chatzilla/application.ini -e 's/.*MaxVersion.*/MaxVersion=99.*/' ''; meta = { homepage = http://chatzilla.hacksrus.com/; description = "Stand-alone version of Chatzilla, an IRC client"; + maintainers = [ stdenv.lib.maintainers.eelco ]; + platforms = stdenv.lib.platforms.linux; }; }