mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #22391 from polynomial/opera
opera: 41.0.2353.56 -> 42.0.2393.517
This commit is contained in:
commit
f7577b8c8c
@ -14,6 +14,7 @@
|
||||
, gnome2
|
||||
, gtk2
|
||||
, libX11
|
||||
, libxcb
|
||||
, libXScrnSaver
|
||||
, libXcomposite
|
||||
, libXcursor
|
||||
@ -36,7 +37,7 @@
|
||||
let
|
||||
|
||||
mirror = https://get.geo.opera.com/pub/opera/desktop;
|
||||
version = "41.0.2353.56";
|
||||
version = "42.0.2393.517";
|
||||
|
||||
rpath = stdenv.lib.makeLibraryPath [
|
||||
|
||||
@ -66,6 +67,7 @@ let
|
||||
libXrandr.out
|
||||
libXrender.out
|
||||
libXtst.out
|
||||
libxcb.out
|
||||
libnotify.out
|
||||
nspr.out
|
||||
nss.out
|
||||
@ -89,12 +91,12 @@ in stdenv.mkDerivation {
|
||||
if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
url = "${mirror}/${version}/linux/opera-stable_${version}_i386.deb";
|
||||
sha256 = "0qjkhadlpn5c20wm66hm7rn12kdk4bh2plfgpfkzp85jmsjdxri5";
|
||||
sha256 = "1zdhg6lrnpn8f4rdibnagj3ps3i8s9ygm4dpj5h605rqk24xxpvs";
|
||||
}
|
||||
else if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb";
|
||||
sha256 = "1f3slbydxkk15banjbm7d8602l3vxy834ijsdqpyj0ckc5mw0g9y";
|
||||
sha256 = "04yklvxprl7kcnl43fmvk1qfj5ifvivj715n26ylzcf29pvcy1mp";
|
||||
}
|
||||
else throw "Opera is not supported on ${stdenv.system} (only i686-linux and x86_64 linux are supported)";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user