# IT4Innovations 2019

easyblock = 'MakeCp'

name = "Unison"
version = "2.51.2"

homepage = 'http://www.cis.upenn.edu/~bcpierce/unison'
description = """Unison is a file-synchronization tool for Unix and Windows.
 It allows two replicas of a collection of files and directories
 to be stored on different hosts (or different disks on the same host),
 modified separately, and then brought up to date
 by propagating the changes in each replica to the other."""

toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}

source_urls = ['https://github.com/bcpierce00/unison/archive/']
sources = ['v%(version)s.tar.gz']

#buildopts = 'UISTYLE=text '

dependencies = [
    ('OCaml', '4.09.0'),
]

files_to_copy = [(['unison'], 'bin')]

parallel = 1

sanity_check_paths = {
    'files': ['bin/unison'],
    'dirs': []
}

moduleclass = 'tools'
