# It4Innovations 2019

easyblock = 'Tarball'

name = 'Go'
version = '1.12.7'

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 = ['3f0ca2acb238bef57c7e2b6e3d8d0730']

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

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

moduleclass = 'compiler'
