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 {
|
2011-10-07 11:26:03 +02:00
|
|
|
name = "chatzilla-0.9.87";
|
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/.
|
2011-10-07 11:26:03 +02:00
|
|
|
url = http://chatzilla.rdmsoft.com/xulrunner/download/chatzilla-0.9.87-xr.zip;
|
|
|
|
sha256 = "1qwbqngrxyip3k2b71adg271sifvrrxcixkyrsy4vmgl5bwdsl4d";
|
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
|
|
|
}
|