nixpkgs/pkgs/applications/networking/mailreaders/thunderbird/default.nix
Eelco Dolstra 0dbb937565 * Thunderbird 1.5.0.5. W00t!
svn path=/nixpkgs/trunk/; revision=6000
2006-07-31 12:13:53 +00:00

45 lines
1.2 KiB
Nix

{ stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL, libXi
, libjpeg, libpng, zlib, cairo
, # If you want the resulting program to call itself "Thunderbird"
# instead of "Deer Park", enable this option. However, those
# binaries may not be distributed without permission from the
# Mozilla Foundation, see
# http://www.mozilla.org/foundation/trademarks/.
enableOfficialBranding ? false
}:
stdenv.mkDerivation {
name = "thunderbird-1.5.0.5";
builder = ./builder.sh;
src = fetchurl {
url = http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/1.5.0.5/source/thunderbird-1.5.0.5-source.tar.bz2;
sha1 = "475ae30ead41847120c36f432b3359f0d60ea9da";
};
buildInputs = [
pkgconfig gtk perl zip libIDL libXi libjpeg libpng zlib cairo
];
inherit gtk;
configureFlags = [
"--enable-application=mail"
"--enable-optimize"
"--disable-debug"
"--enable-xft"
"--disable-freetype2"
"--enable-svg"
"--enable-strip"
"--enable-default-toolkit=gtk2"
"--with-system-jpeg"
"--with-system-png"
"--with-system-zlib"
"--with-system-cairo"
]
++ (if enableOfficialBranding then ["--enable-official-branding"] else []);
}