nixpkgs/pkgs/development/tools/build-managers/rocm-cmake/default.nix

24 lines
614 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
2020-07-10 18:57:24 +01:00
stdenv.mkDerivation rec {
pname = "rocm-cmake";
2021-03-24 07:56:37 +00:00
version = "4.1.0";
2020-07-10 18:57:24 +01:00
src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "rocm-cmake";
rev = "rocm-${version}";
2021-03-24 07:56:37 +00:00
hash = "sha256-uK060F7d7/pTCNbGqdKCzxgPrPPbGjNwuUOt176z7EM=";
2020-07-10 18:57:24 +01:00
};
nativeBuildInputs = [ cmake ];
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 ];
2021-03-10 10:58:56 +00:00
platforms = platforms.unix;
2020-07-10 18:57:24 +01:00
};
}