2020-07-18 16:06:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rocm-cmake";
|
2020-11-06 00:33:48 +00:00
|
|
|
version = "3.9.0";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RadeonOpenCompute";
|
|
|
|
repo = "rocm-cmake";
|
|
|
|
rev = "rocm-${version}";
|
2020-11-06 00:33:48 +00:00
|
|
|
sha256 = "13j7gmcy1j6qsydgccmgiacg6sj38l5mlwn4ck8qizl0cpc14gfm";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "CMake modules for common build tasks for the ROCm stack";
|
|
|
|
homepage = "https://github.com/RadeonOpenCompute/rocm-cmake";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ danieldk ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|