easyblock = 'Tarball'

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

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://github.com/dotnet/core/archive/']
sources = ['v2.0.7-2.tar.gz']

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

sanity_check_paths = {
    'files': [],
    'dirs': ['tools', 'samples'],
}

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

moduleclass = 'lang'
