opera: 46.0.2597.39 -> 48.0.2685.52

This commit is contained in:
volth 2017-11-05 17:17:31 +00:00 committed by GitHub
parent 72e1e2ce5a
commit aee015dbcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@
let let
mirror = https://get.geo.opera.com/pub/opera/desktop; mirror = https://get.geo.opera.com/pub/opera/desktop;
version = "46.0.2597.39"; version = "48.0.2685.52";
rpath = stdenv.lib.makeLibraryPath [ rpath = stdenv.lib.makeLibraryPath [
@ -87,19 +87,10 @@ in stdenv.mkDerivation {
name = "opera-${version}"; name = "opera-${version}";
src = src = fetchurl {
#if stdenv.system == "i686-linux" then
# fetchurl {
# url = "${mirror}/${version}/linux/opera-stable_${version}_i386.deb";
# sha256 = "...";
# }
#else
if stdenv.system == "x86_64-linux" then
fetchurl {
url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb"; url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb";
sha256 = "1ladvqilm5rr222wjybvribnyii2l0p8jbsd10xr06wps63g1kia"; sha256 = "027njqh2as4d0xsnvzamqiplghb8cxqnc19y0vqkvjnsw57v828p";
} };
else throw "Opera is not supported on ${stdenv.system} (only x86_64 linux is supported)";
unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc ."; unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc .";
@ -123,6 +114,7 @@ in stdenv.mkDerivation {
meta = { meta = {
homepage = http://www.opera.com; homepage = http://www.opera.com;
description = "Web browser"; description = "Web browser";
platforms = [ "x86_64-linux" ];
license = stdenv.lib.licenses.unfree; license = stdenv.lib.licenses.unfree;
}; };
} }