mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
opera: 46.0.2597.39 -> 48.0.2685.52
This commit is contained in:
parent
72e1e2ce5a
commit
aee015dbcf
1 changed files with 6 additions and 14 deletions
|
@ -37,7 +37,7 @@
|
|||
let
|
||||
|
||||
mirror = https://get.geo.opera.com/pub/opera/desktop;
|
||||
version = "46.0.2597.39";
|
||||
version = "48.0.2685.52";
|
||||
|
||||
rpath = stdenv.lib.makeLibraryPath [
|
||||
|
||||
|
@ -87,19 +87,10 @@ in stdenv.mkDerivation {
|
|||
|
||||
name = "opera-${version}";
|
||||
|
||||
src =
|
||||
#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";
|
||||
sha256 = "1ladvqilm5rr222wjybvribnyii2l0p8jbsd10xr06wps63g1kia";
|
||||
}
|
||||
else throw "Opera is not supported on ${stdenv.system} (only x86_64 linux is supported)";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb";
|
||||
sha256 = "027njqh2as4d0xsnvzamqiplghb8cxqnc19y0vqkvjnsw57v828p";
|
||||
};
|
||||
|
||||
unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc .";
|
||||
|
||||
|
@ -123,6 +114,7 @@ in stdenv.mkDerivation {
|
|||
meta = {
|
||||
homepage = http://www.opera.com;
|
||||
description = "Web browser";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue