git describe
nix-prefetch-git
I hope it will help make git-packages' versions much nicer It's usually only useful in --deepClone is also specified.