Not “nuclear program”. An arsenal of tested nukes. No regime with working nukes has given them up.
That's exactly what I emphasized, applicable to Libya and Qaddafi, because I cited the relevance of it to North Korea and Kim (and tangentially, Iran):
But, strictly for historical reference, there was a case of a nation giving up actual nukes, not just the nuclear programme, though under unique (they would have to be!) and proper circumstances see South Africa and weapons of mass destruction :
The nukes were developed with probable involvement of Israel, and F.W. de Klerk obviously did the right thing before turning over the government to ANC.
Belarus, Kazakhstan and Ukraine also gave up the nukes after becoming independent republics with the fall and breakup of the USSR, but those nukes were developed and silo-ed by the USSR, not as a result of their national programmes.