summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorxrelkd <46590321+xrelkd@users.noreply.github.com>2019-07-08 17:39:43 +0800
committerxrelkd <46590321+xrelkd@users.noreply.github.com>2019-07-09 08:11:33 +0800
commit87bc26169b19b6c1bccfeefe41dfe221511bff66 (patch)
tree39a7a734534c6b07e6ab04606719f1db44b6232a /pkgs/applications/networking
parentdcbc0a437aa34b541f3772d8015c27e7b8a4f5c9 (diff)
downloadnixpkgs-87bc26169b19b6c1bccfeefe41dfe221511bff66.tar
nixpkgs-87bc26169b19b6c1bccfeefe41dfe221511bff66.tar.gz
nixpkgs-87bc26169b19b6c1bccfeefe41dfe221511bff66.tar.bz2
nixpkgs-87bc26169b19b6c1bccfeefe41dfe221511bff66.tar.lz
nixpkgs-87bc26169b19b6c1bccfeefe41dfe221511bff66.tar.xz
nixpkgs-87bc26169b19b6c1bccfeefe41dfe221511bff66.tar.zst
nixpkgs-87bc26169b19b6c1bccfeefe41dfe221511bff66.zip
opera: 60.0.3255.170 -> 62.0.3331.43
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/browsers/opera/default.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/applications/networking/browsers/opera/default.nix b/pkgs/applications/networking/browsers/opera/default.nix
index 215bf07d4d5..732e020604a 100644
--- a/pkgs/applications/networking/browsers/opera/default.nix
+++ b/pkgs/applications/networking/browsers/opera/default.nix
@@ -13,6 +13,7 @@
 , glib
 , gnome2
 , gtk3
+, lib
 , libX11
 , libxcb
 , libXScrnSaver
@@ -39,10 +40,9 @@
 
 let
 
-  mirror = https://get.geo.opera.com/pub/opera/desktop;
-  version = "60.0.3255.170";
+  mirror = "https://get.geo.opera.com/pub/opera/desktop";
 
-  rpath = stdenv.lib.makeLibraryPath [
+  rpath = lib.makeLibraryPath [
 
     # These provide shared libraries loaded when starting. If one is missing,
     # an error is shown in stderr.
@@ -90,13 +90,14 @@ let
     at-spi2-core
   ];
 
-in stdenv.mkDerivation {
+in stdenv.mkDerivation rec {
 
-  name = "opera-${version}";
+  pname = "opera";
+  version = "62.0.3331.43";
 
   src = fetchurl {
-    url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb";
-    sha256 = "04bcy9qhrhps3712k229yn58ak2j93wcp613zd6l2zxb8a286991";
+    url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb";
+    sha256 = "0zylg32zn6blkgy4bwmjzc26i712lwakahvrd24ncpfa8805f7x7";
   };
 
   unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc .";
@@ -118,10 +119,10 @@ in stdenv.mkDerivation {
       done
   '';
 
-  meta = {
-    homepage = https://www.opera.com;
+  meta = with lib; {
+    homepage = "https://www.opera.com";
     description = "Web browser";
     platforms = [ "x86_64-linux" ];
-    license = stdenv.lib.licenses.unfree;
+    license = licenses.unfree;
   };
 }