anchor.diff:      pkg-config
       glib
       python3
  +    gi-docgen
     ] ++ lib.optionals withIntrospection [
       gobject-introspection
     ] ++ lib.optionals withVala [
  
positive.code: , withVala ? stdenv.buildPlatform == stdenv.hostPlatform
  , libpsl
  , python3
  , brotli
  , libnghttp2
  }:
  
  stdenv.mkDerivation rec {
    pname = "libsoup";
    version = "3.0.7";
  
    outputs = [ "out" "dev" ];
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
      sha256 = "sha256-69+QzzWZwRrLtoGKnZ4/ydLGjlbrgpuTlilyaD4b98g=";
    };
  
    nativeBuildInputs = [
  
negative.code:     patchShebangs libsoup/
    '';
  
    postFixup = ''
      # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
      moveToOutput "share/doc" "$devdoc"
    '';
  
    passthru = {
      propagatedUserEnvPackages = [
        glib-networking.out
  