2016-01-10 11:17:39 +00:00
|
|
|
{ stdenv, fetchurl, unzip, firefox-unwrapped, makeWrapper }:
|
2006-02-15 02:53:01 +00:00
|
|
|
|
2010-07-22 12:59:12 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-10-20 07:02:26 +00:00
|
|
|
name = "chatzilla-0.9.91";
|
2014-04-30 15:02:12 +00:00
|
|
|
|
2006-02-15 02:53:01 +00:00
|
|
|
src = fetchurl {
|
2006-07-19 14:10:03 +00:00
|
|
|
# Obtained from http://chatzilla.rdmsoft.com/xulrunner/.
|
2014-04-30 15:02:12 +00:00
|
|
|
url = "http://chatzilla.rdmsoft.com/xulrunner/download/${name}.en-US.xulapp";
|
2014-10-20 07:02:26 +00:00
|
|
|
sha256 = "1bmjw2wvp8gh7fdl8czkxc55iari6dy672446hps20xixrh8hl8r";
|
2006-02-15 02:53:01 +00:00
|
|
|
};
|
|
|
|
|
2011-10-07 09:26:03 +00:00
|
|
|
buildInputs = [ unzip makeWrapper ];
|
2006-10-11 16:45:55 +00:00
|
|
|
|
2008-09-04 09:29:09 +00:00
|
|
|
buildCommand = ''
|
2011-10-07 09:26:03 +00:00
|
|
|
mkdir -p $out/libexec/chatzilla
|
|
|
|
unzip $src -d $out/libexec/chatzilla
|
|
|
|
|
2016-01-10 11:17:39 +00:00
|
|
|
makeWrapper ${firefox-unwrapped}/bin/firefox $out/bin/chatzilla \
|
2014-10-20 07:00:14 +00:00
|
|
|
--add-flags "-app $out/libexec/chatzilla/application.ini"
|
2014-04-30 15:02:12 +00:00
|
|
|
|
|
|
|
sed -i $out/libexec/chatzilla/application.ini -e 's/.*MaxVersion.*/MaxVersion=99.*/'
|
2008-09-04 09:29:09 +00:00
|
|
|
'';
|
|
|
|
|
2006-10-11 16:45:55 +00:00
|
|
|
meta = {
|
2007-09-26 18:46:43 +00:00
|
|
|
homepage = http://chatzilla.hacksrus.com/;
|
2006-10-11 16:45:55 +00:00
|
|
|
description = "Stand-alone version of Chatzilla, an IRC client";
|
2014-04-30 15:02:12 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2006-10-11 16:45:55 +00:00
|
|
|
};
|
2006-02-15 02:53:01 +00:00
|
|
|
}
|