anchor.diff:  , rocm-cmake
   , clang
   , clang-unwrapped
  -, libGLU
  +, glew
  +, libglvnd
   , libX11
   , lld
   , llvm
  
positive.code: , rocm-thunk
  }:
  
  let
    version = "3.5.0";
    tag = "roc-${version}";
  in stdenv.mkDerivation rec {
    inherit version;
  
    pname = "rocm-opencl-runtime";
  
    src = fetchFromGitHub {
      owner = "RadeonOpenCompute";
      repo = "ROCm-OpenCL-Runtime";
      rev = tag;
      sha256 = "1wrr6mmn4gf6i0vxp4yqk0ny2wglvj1jfj50il8czjwy0cwmhykk";
      name = "ROCm-OpenCL-Runtime-${tag}-src";
    };
  
    nativeBuildInputs = [ cmake rocm-cmake ];
  
negative.code:   buildInputs = [
      clang
      clang-unwrapped
      glew
      libglvnd
      libX11
      lld
      llvm
  