anchor.diff:      rev = "renderdoc-modified-7";
       sha256 = "15r2m5kcs0id64pa2fsw58qll3jyh71jzc04wy20pgsh2326zis6";
     };
  -  pythonPackages = python3Packages;
     cmakeBool = b: if b then "ON" else "OFF";
   in
   mkDerivation rec {
  +  pname = "renderdoc";
     version = "1.15";
  -  pname = "renderdoc";
   
     src = fetchFromGitHub {
       owner = "baldurk";
  
positive.code: 
    buildInputs = [
      qtbase qtsvg xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader python3
    ] # ++ (with pythonPackages; [pyside2 pyside2-tools shiboken2])
    # TODO: figure out how to make cmake recognise pyside2
    ++ (lib.optional waylandSupport wayland);
  
    nativeBuildInputs = [ cmake makeWrapper pkg-config bison pcre automake autoconf addOpenGLRunpath ];
  
  
negative.code:       of any application using Vulkan, D3D11, OpenGL or D3D12 across
        Windows 7 - 10, Linux or Android.
      '';
      maintainers = [ maintainers.jansol ];
      platforms = [ "i686-linux" "x86_64-linux" ];
    };
  }
  