anchor.diff:  , perl
   , python3
   , ruby
  +, gi-docgen
   , bison
   , gperf
   , cmake
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "webkitgtk";
    version = "2.36.7";
  
    outputs = [ "out" "dev" ];
  
    separateDebugInfo = stdenv.isLinux;
  
    src = fetchurl {
      url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz";
      sha256 = "sha256-DCYM8rMvBIHQF2cN/tG2HlVJZ80GcZVgbJ+etf5zF0M=";
    };
  
    patches = lib.optionals stdenv.isLinux [
  
negative.code:     pkg-config
      python3
      ruby
      gi-docgen
      glib # for gdbus-codegen
    ] ++ lib.optionals stdenv.isLinux [
      wayland # for wayland-scanner
  