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