taskRequires was introduced in the nimble version
that comes with nim 2.0
Thus it can not be interpreted by nimble versions below that, i.e. used by nim 1.6.
Thus using this in the nimble file breaks backwards compatibility with any package using norm under nim 1.6.
This when-block makes the taskRequires blocks only visible for nim versions whose nimble version can deal with them.
@moigagoo I'd want you to be aware of that thus I'd like your approval of the PR.
closes #196
taskRequires was introduced in the nimble version that comes with nim 2.0
Thus it can not be interpreted by nimble versions below that, i.e. used by nim 1.6. Thus using this in the nimble file breaks backwards compatibility with any package using norm under nim 1.6.
This when-block makes the taskRequires blocks only visible for nim versions whose nimble version can deal with them.
@moigagoo I'd want you to be aware of that thus I'd like your approval of the PR.