The original agreement , reached in July 2005 with Prime Minister Manmohan Singh , would permit India to buy nuclear fuel and reactor components from the United States and other countries in return for inspections of its civilian program .