mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +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
|
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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue