CBS has passed on the pilot for “Nancy Drew,” an update of the classic girl-detective stories that was set to star Sarah Shahi. Corporate sibling CBS Television Studios is now seeking other prospective buyers for the show.

Writers Joan Rater and Tony Phelan (“Grey’s Anatomy”) exec produced the pilot with Dan Jinks. The project was described as a contemporary take on the character from the iconic Nancy Drew book series, with a grown-up version of the title character. In the pilot, Drew works as a detective for the NYPD, where she investigates and solves crimes using her uncanny observational skills, all while navigating the complexities of life in a modern world.

Shahi, who has starred in the network’s crime drama “Person of Interest” since its second season, stars in the pilot as Drew. Before “Person of Interest,” she starred in USA’s “Fairly Legal,” and played roles on “The L Word” and “Chicago Fire.”

“Graceland” star Vanessa Ferlito played Drew’s former NYPD partner George in the pilot. “ER” veteran Anthony Edwards played Drew’s father.