# It4Innovations 2018

easyblock = 'Tarball'

name = 'Go'
version = '1.11.1'

homepage = 'http://www.golang.org'
description = """Go is an open source programming language that makes it easy to build
 simple, reliable, and efficient software."""

toolchain = {'name': 'system', 'version': ''}

source_urls = ['https://dl.google.com/go/']
sources = ['%(namelower)s%(version)s.linux-amd64.tar.gz']

checksums = ['2871270d8ff0c8c69f161aaae42f9f28739855ff5c5204752a8d92a1c9f63993']

sanity_check_paths = {
    'files': ['bin/go', 'bin/gofmt'],
    'dirs': ['api', 'doc', 'lib', 'pkg'],
}

modextravars = {'GOROOT': '%(installdir)s'}

moduleclass = 'compiler'
