2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2020-07-10 18:57:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rocm-cmake";
|
2020-12-18 07:30:12 +00:00
|
|
|
version = "4.0.0";
|
2020-07-10 18:57:24 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RadeonOpenCompute";
|
|
|
|
repo = "rocm-cmake";
|
|
|
|
rev = "rocm-${version}";
|
2020-12-01 06:41:09 +00:00
|
|
|
hash = "sha256-1T0S2GWA/ojRZMRyWgtFQ2rzmIqvMvaa19jI4Fl9R44=";
|
2020-07-10 18:57:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-07-10 18:57:24 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|