Migrate to hnix
Remove Hastache dependency
Add dependency detection