{ rocfft , lib , stdenv , fetchFromGitHub , rocmUpdateScript , cmake , clr , python3 , rocm-cmake , sqlite , boost , fftw , fftwFloat , gtest , openmp , rocrand , gpuTargets ? [ ] }: stdenv.mkDerivation (finalAttrs: { pname = "rocfft"; version = "5.7.1"; src = fetchFromGitHub { owner = "ROCm"; repo = "rocFFT"; rev = "rocm-${finalAttrs.version}"; hash = "sha256-GZSi03geTT+NUztBWhGYyghLqJGsFjUQzVAKQ7d03uA="; }; 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_