1 year. If you discount the fact he was playing at a higher level, has European experience (no matter how negative that experience was), seems to be more valuable to his national team, and was sold to England, then the situation is fairly similar.
The above isn't even taking into account that Hibs losing McGinn for nothing would hurt them a hell of a lot more than Celtic losing Armstrong for nothing would have.