System design for a long-line quantum repeater