git.iko.soy/typeable/nixpkgs
on master help sign in
opera: 46.0.2597.39 -> 48.0.2685.52
commitaee015dbcf229a441883660aa48201b215e946a2 authorvolth <volth@webmaster.ms> dateSun 5 Nov 2017, 17:17 (9 years ago) parent72e1e2c
1 file changed+6−14
pkgs/applications/networking/browsers/opera/default.nix+6−14
pkgs/applications/networking/browsers/opera/default.nix+6−14
@@ -37,7 +37,7 @@
3737let
3838
3939 mirror = https://get.geo.opera.com/pub/opera/desktop;
40− version = "46.0.2597.39";
40+ version = "48.0.2685.52";
4141
4242 rpath = stdenv.lib.makeLibraryPath [
4343
@@ -87,19 +87,10 @@ in stdenv.mkDerivation {
8787
8888 name = "opera-${version}";
8989
90− src =
91− #if stdenv.system == "i686-linux" then
92− # fetchurl {
93− # url = "${mirror}/${version}/linux/opera-stable_${version}_i386.deb";
94− # sha256 = "...";
95− # }
96− #else
97− if stdenv.system == "x86_64-linux" then
98− fetchurl {
99− url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb";
100− sha256 = "1ladvqilm5rr222wjybvribnyii2l0p8jbsd10xr06wps63g1kia";
101− }
102− else throw "Opera is not supported on ${stdenv.system} (only x86_64 linux is supported)";
90+ src = fetchurl {
91+ url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb";
92+ sha256 = "027njqh2as4d0xsnvzamqiplghb8cxqnc19y0vqkvjnsw57v828p";
93+ };
10394
10495 unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc .";
10596
@@ -123,6 +114,7 @@ in stdenv.mkDerivation {
123114 meta = {
124115 homepage = http://www.opera.com;
125116 description = "Web browser";
117+ platforms = [ "x86_64-linux" ];
126118 license = stdenv.lib.licenses.unfree;
127119 };
128120}