NetHack source is also available from our git repository.

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