Nuclear weapons aren't all that complicated, it's the enrichment that is hard. It's a large scale industrial process that requires a well equiped specialized facility. We can detect these activities from space, that's how big we are talking.
You can get a rough idea of what is needed from Wikipedia. They are simpler machines than a automobile engine, at least in the sense that there are fewer parts involved.