anchor.diff:      # Pantheon specific patches for epiphany
       # https://github.com/elementary/browser
       #
  -    # Make this respect dark mode settings from Pantheon
  -    # https://github.com/elementary/browser/pull/21
  -    # https://github.com/elementary/browser/pull/41
  -    (fetchpatch {
  -      url = "https://raw.githubusercontent.com/elementary/browser/cc17559a7ac6effe593712b4f3d0bbefde6e3b62/dark-style.patch";
  -      sha256 = "sha256-RzMUc9P51UN3tRFefzRtMniXR9duOOmLj5eu5gL2TEQ=";
  -    })
       # Patch to unlink nav buttons
       # https://github.com/elementary/browser/pull/18
       (fetchpatch {
  
positive.code:     p11-kit
      sqlite
      webkitgtk
    ] ++ lib.optionals withPantheon [
      pantheon.granite
    ];
  
    # Tests need an X display
  
negative.code:     glib
      glib-networking
      gnome-desktop
      gst_all_1.gst-libav
      gst_all_1.gst-plugins-bad
      gst_all_1.gst-plugins-base
  