A federal appeals court on Wednesday upheld federal regulations that prevented a woman with a medical marijuana card from buying a firearm in Nevada.