nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 35 lines 875 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, rocmUpdateScript 5, cmake 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "rocm-cmake"; 10 version = "5.4.4"; 11 12 src = fetchFromGitHub { 13 owner = "RadeonOpenCompute"; 14 repo = "rocm-cmake"; 15 rev = "rocm-${finalAttrs.version}"; 16 hash = "sha256-JarQqiiZ36WV1d6vyQD546GN1EtoKLcdvcZsG3QWD2Y="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 passthru.updateScript = rocmUpdateScript { 22 name = finalAttrs.pname; 23 owner = finalAttrs.src.owner; 24 repo = finalAttrs.src.repo; 25 }; 26 27 meta = with lib; { 28 description = "CMake modules for common build tasks for the ROCm stack"; 29 homepage = "https://github.com/RadeonOpenCompute/rocm-cmake"; 30 license = licenses.mit; 31 maintainers = teams.rocm.members; 32 platforms = platforms.unix; 33 broken = versions.minor finalAttrs.version != versions.minor stdenv.cc.version; 34 }; 35})