# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Ravi Tripathi
# Email: ravi89@uab.edu

easyblock = 'Tarball'

name = 'HAPGEN2'
version = '2.2.0'

homepage = 'https://mathgen.stats.ox.ac.uk/genetics_software/hapgen/hapgen2.html'
description = """'HAPGEN2' simulates case control datasets at SNP markers."""

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

source_urls = ['https://mathgen.stats.ox.ac.uk/genetics_software/hapgen/download/builds/x86_64/v%(version)s/']
sources = ['hapgen2_x86_64.tar.gz']

modextrapaths = {'PATH': ''}

checksums = ['8d26727f37eabb09e45f702d4f3ed3cb']

sanity_check_paths = {
    'files': ["hapgen2", "LICENCE"],
    'dirs': [],
}

moduleclass = 'bio'
