Merge pull request #64439 from xrelkd/update/opera

opera: 60.0.3255.170 -> 62.0.3331.43
This commit is contained in:
worldofpeace 2019-07-08 20:49:54 -04:00 committed by GitHub
commit 38c7c5d322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 10 deletions

View File

@ -13,6 +13,7 @@
, glib , glib
, gnome2 , gnome2
, gtk3 , gtk3
, lib
, libX11 , libX11
, libxcb , libxcb
, libXScrnSaver , libXScrnSaver
@ -39,10 +40,9 @@
let let
mirror = https://get.geo.opera.com/pub/opera/desktop; mirror = "https://get.geo.opera.com/pub/opera/desktop";
version = "60.0.3255.170";
rpath = stdenv.lib.makeLibraryPath [ rpath = lib.makeLibraryPath [
# These provide shared libraries loaded when starting. If one is missing, # These provide shared libraries loaded when starting. If one is missing,
# an error is shown in stderr. # an error is shown in stderr.
@ -90,13 +90,14 @@ let
at-spi2-core at-spi2-core
]; ];
in stdenv.mkDerivation { in stdenv.mkDerivation rec {
name = "opera-${version}"; pname = "opera";
version = "62.0.3331.43";
src = fetchurl { src = fetchurl {
url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb"; url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb";
sha256 = "04bcy9qhrhps3712k229yn58ak2j93wcp613zd6l2zxb8a286991"; sha256 = "0zylg32zn6blkgy4bwmjzc26i712lwakahvrd24ncpfa8805f7x7";
}; };
unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc ."; unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc .";
@ -118,10 +119,10 @@ in stdenv.mkDerivation {
done done
''; '';
meta = { meta = with lib; {
homepage = https://www.opera.com; homepage = "https://www.opera.com";
description = "Web browser"; description = "Web browser";
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
license = stdenv.lib.licenses.unfree; license = licenses.unfree;
}; };
} }