Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

39 lines
812 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
rocmUpdateScript,
rocm-core,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "rocm-cmake";
version = "6.3.3";
src = fetchFromGitHub {
owner = "ROCm";
repo = "rocm-cmake";
rev = "rocm-${finalAttrs.version}";
hash = "sha256-U4vGkH2iUlNJkqiNmVuFianD4WR9yuGvZsYG58smg0k=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ rocm-core ];
passthru.updateScript = rocmUpdateScript {
name = finalAttrs.pname;
inherit (finalAttrs.src) owner;
inherit (finalAttrs.src) repo;
};
meta = with lib; {
description = "CMake modules for common build tasks for the ROCm stack";
homepage = "https://github.com/ROCm/rocm-cmake";
license = licenses.mit;
teams = [ teams.rocm ];
platforms = platforms.unix;
};
})