easyblock = 'Tarball'

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

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/886b4a4c-30af-454b-8bec-81c72b7b4e1f/d1a0c8de9abb36d8535363ede4a15de6']
sources = ['dotnet-sdk-%(version)s-linux-x64.tar.gz']

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

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

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

moduleclass = 'lang'
