2011-10-07 11:26:03 +02:00
|
|
|
{ stdenv, fetchurl, unzip, xulrunner, makeWrapper }:
|
2006-02-15 03:53:01 +01:00
|
|
|
|
2010-07-22 14:59:12 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2012-02-18 18:11:57 +01:00
|
|
|
name = "chatzilla-0.9.88";
|
2007-09-26 20:46:43 +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/.
|
2012-02-18 18:11:57 +01:00
|
|
|
url = "http://chatzilla.rdmsoft.com/xulrunner/download/${name}-xr.zip";
|
|
|
|
sha256 = "041jpjl7wnbhqm2f8bf2pwp6igjapmy74swac94h54n644wl5nz0";
|
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
|
|
|
|
|
|
|
|
makeWrapper ${xulrunner}/bin/xulrunner $out/bin/chatzilla \
|
|
|
|
--add-flags $out/libexec/chatzilla/application.ini
|
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";
|
|
|
|
};
|
2006-02-15 03:53:01 +01:00
|
|
|
}
|