xulrunner: stick to firefox's src attribute

This commit is contained in:
Mathijs Kwik 2014-09-10 13:17:13 +02:00
parent 911d0d5b12
commit 04369b6819

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