The Israelis had their own nukes in the 70s. Defense Minister Moshe Dayan asked Prime Minister Golda Meir if they should plan for a nuclear demonstration on Day 2 of the 1973 Yom Kippur War when it looked like the Syrians would blow through the Golan with a direct shot into Israel. Meir said absolutely not -- setting off a nuke when Israel was still fighting and not going down would have set off all kinds of bad international precedent.

The South Africans had approximately 10-20 weapons when they self-terminated their program -- probably knowing white rule was coming to an end, and not wanting to leave loose nukes hanging around. They are the only KNOWN nation that had a nuclear program that self-disarmed.