2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rocm-cmake";
|
2020-12-25 13:55:36 +00:00
|
|
|
version = "4.0.0";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RadeonOpenCompute";
|
|
|
|
repo = "rocm-cmake";
|
|
|
|
rev = "rocm-${version}";
|
2020-12-03 08:41:04 +00:00
|
|
|
hash = "sha256-1T0S2GWA/ojRZMRyWgtFQ2rzmIqvMvaa19jI4Fl9R44=";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-07-18 16:06:22 +00: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 ];
|
2021-03-19 17:17:44 +00:00
|
|
|
platforms = platforms.unix;
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
}
|