nixpkgs/pkgs/applications/networking/irc/chatzilla/default.nix
Eelco Dolstra 549a4405e3 * xulrunner-wrapper: use Firefox 3 directly (via "firefox -app"),
since it has full support for running XUL applications.  This saves
  a lot of space (you don't need two copies of basically the same
  software).
* Deleted the old xulrunner (1.8.0.4), it didn't compile anyway with
  recent GTK.
* Updated chatzilla to 0.9.83.

svn path=/nixpkgs/trunk/; revision=12794
2008-09-04 09:29:09 +00:00

27 lines
699 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "chatzilla-0.9.83";
src = fetchurl {
# Obtained from http://chatzilla.rdmsoft.com/xulrunner/.
url = http://chatzilla.rdmsoft.com/xulrunner/download/chatzilla-0.9.83-xr.zip;
sha256 = "0dzk0k9gmzy7sqbiszakd69pjr4h6pfdsb3s6zbx4gc46z4n3shx";
};
buildInputs = [unzip];
buildCommand = ''
ensureDir $out
unzip $src -d $out
# Fix overly restrictive version specification.
substituteInPlace $out/application.ini --replace 'MaxVersion=1.9' 'MaxVersion=1.9.0.999'
'';
meta = {
homepage = http://chatzilla.hacksrus.com/;
description = "Stand-alone version of Chatzilla, an IRC client";
};
}