nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 855 B view raw
1{ 2 lib, 3 stdenv, 4 cmake, 5 fetchFromGitHub, 6 rocm-cmake, 7 rocmUpdateScript, 8}: 9stdenv.mkDerivation (finalAttrs: { 10 pname = "hipblas-common"; 11 version = "7.1.1"; 12 13 src = fetchFromGitHub { 14 owner = "ROCm"; 15 repo = "hipBLAS-common"; 16 rev = "rocm-${finalAttrs.version}"; 17 hash = "sha256-sswqYIv3c5ArT6dQ3MRru7ZZVA0VxoKW/a0pYTBpjgE="; 18 }; 19 20 nativeBuildInputs = [ 21 cmake 22 ]; 23 24 buildInputs = [ 25 rocm-cmake 26 ]; 27 28 strictDeps = true; 29 30 passthru.updateScript = rocmUpdateScript { 31 name = finalAttrs.pname; 32 inherit (finalAttrs.src) owner; 33 inherit (finalAttrs.src) repo; 34 }; 35 meta = { 36 description = "Common files shared by hipBLAS and hipBLASLt"; 37 homepage = "https://github.com/ROCm/hipBLASlt"; 38 license = with lib.licenses; [ mit ]; 39 teams = [ lib.teams.rocm ]; 40 platforms = lib.platforms.linux; 41 }; 42})