smartgithg: new package

@vcunat added meta.platforms.

Cherry-picked from upstream/master 759cc041ed8bb712cf515818807d58db635bcabc

Conflicts:
	pkgs/applications/version-management/smartgithg/default.nix
SmartGitHg: don't assume we're on OpenJDK and replace JDK dependency with JRE.