easyblock = 'Tarball'

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

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 = {'name': 'system', 'version': ''}

source_urls = [
    'https://download.microsoft.com/download/3/7/1/37189942-C91D-46E9-907B-CF2B2DE584C7/']
sources = ['dotnet-sdk-%(version)s-linux-x64.tar.gz']

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

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

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

moduleclass = 'lang'
