anchor.diff:      homepage    = "https://vivaldi.com";
       license     = licenses.unfree;
       maintainers = with maintainers; [ otwieracz nequissimus ];
  -    platforms   = platforms.linux;
  +    platforms   = [ "x86_64-linux" ];
     };
   }
  
positive.code: , freetype, fontconfig, libXft, libXrender, libxcb, expat, libXau, libXdmcp
  , libuuid, xz
  , gstreamer, gst-plugins-base, libxml2
  , glib, gtk2, pango, gdk_pixbuf, cairo, atk, gnome3
  , nss, nspr
  , patchelf
  }:
  
  let
    version = "1.9";
    build = "818.44-1";
    fullVersion = "stable_${version}.${build}";
  
    info = if stdenv.is64bit then {
        arch = "amd64";
        sha256 = "0apkwgd98ld5k77nplzmk67nz6mb5pi8jyrnkp96m93mr41b08bq";
      } else {
        arch = "i386";
        sha256 = "0xyf0z1cnzmb3pv6rgsbd7jdjf1v137priz4kkymr8jgmpq0mmfx";
      };
  
  in stdenv.mkDerivation rec {
    product    = "vivaldi";
    name       = "${product}-${version}";
  
    src = fetchurl {
      inherit (info) sha256;
      url = "https://downloads.vivaldi.com/stable/${product}-${fullVersion}_${info.arch}.deb";
    };
  
    unpackPhase = ''
  
negative.code:     tar -xvf data.tar.xz
    '';
  
    nativeBuildInputs = [ patchelf ];
  
    buildInputs = [
      stdenv.cc.cc stdenv.cc.libc zlib libX11 libXt libXext libSM libICE libxcb
      libXi libXft libXcursor libXfixes libXScrnSaver libXcomposite libXdamage libXtst libXrandr
      atk alsaLib dbus_libs cups gtk3 gdk_pixbuf libexif ffmpeg systemd
      freetype fontconfig libXrender libuuid expat glib nss nspr
      gstreamer libxml2 gst-plugins-base pango cairo gnome3.gconf
    ];
  
    libPath = stdenv.lib.makeLibraryPath buildInputs
      + stdenv.lib.optionalString (stdenv.is64bit)
  