easyblock = 'Tarball'

# note: only works on recent OSs, required local_sufficiently recent glibc (2.14
# or newer)
name = 'dotNET-Core-SDK'
version = '3.1.101'

homepage = 'https://www.microsoft.com/net/'
description = """.NET is a free, cross-platform, open source developer platform for building many different types
 of applications."""

toolchain = SYSTEM

source_urls = ['https://download.visualstudio.microsoft.com/download/pr/c4b503d6-2f41-4908-b634-270a0a1dcfca/c5a20e42868a48a2cd1ae27cf038044c']
sources = ['dotnet-sdk-%(version)s-linux-x64.tar.gz']

dependencies = [('libunwind', '1.2')]

sanity_check_paths = {
    'files': ['dotnet'],
    'dirs': ['sdk'],
}

modextrapaths = {'PATH': ['']}

moduleclass = 'lang'
