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