nspr: Update to 4.10

This commit is contained in:
Eelco Dolstra 2013-06-06 13:04:26 +02:00
parent 34dbf4face
commit 4bd57f56a1

View file

@ -1,16 +1,16 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
let version = "4.9.6"; in let version = "4.10"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "nspr-${version}"; name = "nspr-${version}";
src = fetchurl { src = fetchurl {
url = "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${version}/src/nspr-${version}.tar.gz"; url = "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${version}/src/nspr-${version}.tar.gz";
sha256 = "1yf6sr21fisr0mlh4cq0ymcfp8nsvjskmx8dlm9mvhaw7kfzv4vn"; sha1 = "10dbf68c07497dab30be09db526931c885d5a7e9";
}; };
preConfigure = "cd mozilla/nsprpub"; preConfigure = "cd nspr";
configureFlags = "--enable-optimize --disable-debug ${if stdenv.is64bit then "--enable-64bit" else ""}"; configureFlags = "--enable-optimize --disable-debug ${if stdenv.is64bit then "--enable-64bit" else ""}";