I am almost sure buying nuclear powered submarines violates international treaties. I ll try to find out which treaties.
The NPT does not permit the transfer of technology for naval nuclear propulsion,
the barrier is mainly due to the higher level of enriched uranium in naval reactors . A typical Civilian LWR requires 2-3.5% enriched uranium compared to 20 upto 96% enriched fuel used in some american submarines for naval reactors(anything above 90% is weapons grade), this is mainly due to the size constraints in building a small enough reactor with enough punch to power a ship.
A Nation may however provide nuclear submarine Consultancy , the french are helping to build a Nuclear powered scorpene for the Brazilians & It's a well known fact the the Russians also helped us out with the Arihant. In fact the Entire nuclear Submarine can be sold apart from the propulsion system and SLBM's
Civilian land based reactors are much easier to safeguard and maintain than naval reactors and the technology is available far more easily as well, however things may change pretty soon as the lloyd's register is currently in the process of setting up guidelines and preparing draft rules for civilian nuclear ships.
Just a point of interest there have been four high profile nuclear powered civilian cargo vessels(other than atomic icebreakers)these are.
The American NS Savannah
NS Savannah - Wikipedia, the free encyclopedia
The German ore carrier NS Otto Hahn
The Soviet Container ship NS Sevmorput
Sevmorput - Wikipedia, the free encyclopedia
The Japanese NS Mutsu
Mutsu (ship) - Wikipedia, the free encyclopedia
NS Otto Hahn - Germany's Nuclear Powered Cargo Ship
Some interesting reading on Naval reactors can be found here
Disarmament Diplomacy: - Deep Seas and Deep-Seated Secrets: Naval Nuclear Fuel Stockpiles and The Need for Transparency