anchor.diff:  , libxml2
   , libxslt
   , itstool
  -, webkitgtk
  -, libsoup
  +, webkitgtk_4_1
  +, libsoup_3
   , glib-networking
   , libsecret
   , gnome-desktop
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "epiphany";
    version = "42.3";
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
      sha256 = "cxbTxlAOgl2OVyk/pYBHxWcnvuFs1rasgE/+XZsilWA=";
    };
  
    patches = lib.optionals withPantheon [
  
negative.code:     libnotify
      libarchive
      libsecret
      libsoup_3
      libxml2
      nettle
      p11-kit
      sqlite
      webkitgtk_4_1
    ];
  
    # Tests need an X display
  