anchor.diff:  { stdenv, lib, fetchurl, fetchzip, python3Packages
  -, makeWrapper, wrapGAppsHook, qtbase, glib-networking
  +, mkDerivationWith, wrapQtAppsHook, wrapGAppsHook, qtbase, glib-networking
   , asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2
   , libxslt, gst_all_1 ? null
   , withPdfReader        ? true
  
positive.code:     stripRoot = false;
    };
  
  in python3Packages.buildPythonApplication rec {
    pname = "qutebrowser";
    version = "1.6.3";
  
  
negative.code:   patches = [
      ./fix-restart.patch
    ];
  
    dontWrapGApps = true;
    dontWrapQtApps = true;
  
    postPatch = ''
      substituteInPlace qutebrowser/app.py --subst-var-by qutebrowser "$out/bin/qutebrowser"
  