Revert "Revert "xulrunner: stick to firefox's src attribute""

This reverts commit f13b38344987ae7c9dd6fd746f73ffe010970e13.
This commit is contained in:
Mathijs Kwik 2014-10-22 16:19:05 +02:00
parent bb8500393b
commit 2140adf11f

View File

@ -3,21 +3,18 @@
, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify , freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
, yasm, mesa, sqlite, unzip, makeWrapper, pysqlite , yasm, mesa, sqlite, unzip, makeWrapper, pysqlite
, hunspell, libevent, libstartup_notification, libvpx , hunspell, libevent, libstartup_notification, libvpx
, cairo, gstreamer, gst_plugins_base, icu , cairo, gstreamer, gst_plugins_base, icu, firefox
, debugBuild ? false , debugBuild ? false
}: }:
assert stdenv.gcc ? libc && stdenv.gcc.libc != null; assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
let version = "31.0"; in let version = firefox.version; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "xulrunner-${version}"; name = "xulrunner-${version}";
src = fetchurl { src = firefox.src;
url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2";
sha1 = "a6c3e25ee3aeb7da42db2aaeb50a385d63532beb";
};
buildInputs = buildInputs =
[ pkgconfig gtk perl zip libIDL libjpeg zlib bzip2 [ pkgconfig gtk perl zip libIDL libjpeg zlib bzip2