HBO has handed out a series order for an unnamed show about three gay thirty-something friends living in San Francisco.

According to The Hollywood Reporter, HBO has ordered 8 episodes to debut next year.

The show stars Jonathan Groff (Glee, Boss), Murray Bartlett (Guiding Light) and newcomer Frankie J. Alvarez (Smash) as a trio of friends grappling with gay life in America's most gay-friendly city.

David Marshall Grant (Nashville, Brothers & Sisters) and Sarah Condon (Bored to Death, Darlings) are executive producing the untitled project, which is based on a script by Michael Lannan (Remember Me). The pilot was directed by Andrew Haigh, whose brilliant film Weekend about a 48-hour relationship between two men has collected numerous film festival prizes.

The order comes just days after television lost a number of high-profile gay characters with the cancellations of NBC's The New Normal, ABC's Happy Endings and NBC's Smash. CBS also canceled the much-hyped comedy Partners after airing only 6 episodes.

(Related: First look: Sean Hayes, Linda Lavin in gay comedy Sean Saves The World.)