A PP3 battery holder. Took inspiration from https://www.thingiverse.com/thing:2144462 but I had to change the design for what I needed.
Personally, I slide the battery in from the front, rather than push it past the retaining lugs.
Angle of the lugs allows it to be printed without support.
I've included the sketchup file to allow easier adaptation if required.