{ rocfft , lib , stdenv , fetchFromGitHub , rocmUpdateScript , cmake , clr , python3 , rocm-cmake , sqlite , boost , fftw , fftwFloat , gtest , openmp , rocrand , gpuTargets ? [ ] }: stdenv.mkDerivation (finalAttrs: { pname = "rocfft"; version = "6.0.2"; src = fetchFromGitHub { owner = "ROCm"; repo = "rocFFT"; rev = "rocm-${finalAttrs.version}"; hash = "sha256-6Gjsy14GeR08VqnNmFhu8EyYDnQ+VZRlg+u9MAAWfHc="; }; nativeBuildInputs = [ cmake clr python3 rocm-cmake ]; buildInputs = [ sqlite ]; cmakeFlags = [ "-DCMAKE_C_COMPILER=hipcc" "-DCMAKE_CXX_COMPILER=hipcc" "-DSQLITE_USE_SYSTEM_PACKAGE=ON" # Manually define CMAKE_INSTALL_