anchor.diff:      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
  
positive.code:     pkg-config
      glib
      python3
    ] ++ lib.optionals withIntrospection [
      gobject-introspection
    ] ++ lib.optionals withVala [
  
negative.code: , withVala ? stdenv.buildPlatform == stdenv.hostPlatform
  , libpsl
  , python3
  , gi-docgen
  , brotli
  , libnghttp2
  }:
  
  stdenv.mkDerivation rec {
    pname = "libsoup";
    version = "3.1.1";
  
    outputs = [ "out" "dev" "devdoc" ];
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
      sha256 = "sha256-RAO/PnpMeoXLPEpSgcm5nSVuKGOfVXMKUq3UMqr84Fw=";
    };
  
    nativeBuildInputs = [
  