NetHack source is also available from our git repository.

To download a tarball of the NetHack code as of the 3.6.7 release: