anchor.diff:    propagatedBuildInputs = with python3Packages; [
       pyyaml pyqt5 jinja2 pygments
       pypeg2 cssutils pyopengl attrs
  +    # scripts and userscripts libs
  +    tldextract beautifulsoup4
  +    pyreadability pykeepass stem
     ];
   
     postPatch = ''
  
positive.code:         "$out/share/icons/hicolor/scalable/apps/qutebrowser.svg"
  
      # Install scripts
      sed -i "s,/usr/bin/qutebrowser,$out/bin/qutebrowser,g" scripts/open_url_in_instance.sh
      install -Dm755 -t "$out/share/qutebrowser/scripts/" scripts/open_url_in_instance.sh
      install -Dm755 -t "$out/share/qutebrowser/userscripts/" misc/userscripts/*
  
      # Install and patch python scripts
      buildPythonPath "$out $propagatedBuildInputs"
      for i in importer dictcli keytester utils; do
        install -Dm755 -t "$out/share/qutebrowser/scripts/" scripts/$i.py
        patchPythonScript "$out/share/qutebrowser/scripts/$i.py"
      done
    '';
  
  
negative.code:     wrapProgram $out/bin/qutebrowser --add-flags "--backend webkit"
    '';
  
    meta = with stdenv.lib; {
      homepage    = https://github.com/The-Compiler/qutebrowser;
      description = "Keyboard-focused browser with a minimal GUI";
      license     = licenses.gpl3Plus;
      maintainers = with maintainers; [ jagajaga rnhmjoj ];
    };
  }
  