nixpkgs/pkgs/development/interpreters/xulrunner/default.nix
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00

30 lines
773 B
Nix

{stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL, libXi}:
stdenv.mkDerivation {
name = "xulrunner-1.8.0.4";
builder = ./builder.sh;
src = fetchurl {
url = http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.0.4/source/xulrunner-1.8.0.4-source.tar.bz2;
md5 = "4dc09831aa4e94fda5182a4897ed08e9";
};
buildInputs = [pkgconfig gtk perl zip libIDL libXi];
configureFlags = [
"--enable-application=xulrunner"
"--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"
"--disable-gnomevfs"
"--disable-gnomeui"
"--disable-javaxpcom"
];
}