anchor.diff: -{ lib, fetchurl, fetchzip, fetchpatch, python3
  +{ lib, fetchurl, fetchzip, python3
   , mkDerivationWith, wrapQtAppsHook, wrapGAppsHook, qtbase, qtwebengine, glib-networking
   , asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2
   , libxslt, gst_all_1 ? null
  
positive.code: 
    patches = [
      ./fix-restart.patch
      (fetchpatch {
        name = "add-qtwebengine-version-override.patch";
        url = "https://github.com/qutebrowser/qutebrowser/commit/febb921040b6670d9b1694a6ce55ae39384d1306.patch";
        sha256 = "15p11kk8via7c7m14jiqgzc63qwxxzayr2bkl93jd10l2gx7pk9v";
      })
    ];
  
    dontWrapGApps = true;
  
negative.code: 
  in mkDerivationWith python3Packages.buildPythonApplication rec {
    pname = "qutebrowser";
    version = "2.2.1";
  
    # the release tarballs are different from the git checkout!
    src = fetchurl {
      url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${pname}-${version}.tar.gz";
      sha256 = "sha256-JHymxnNPdMsVma3TUKCS+iRCe9J7I0A6iISP5OXtJm8=";
    };
  
    # Needs tox
  