Longed to get some sleep in Edinburgh (5)
I believe the answer is:
pined
'longed' is the definition.
('pine' can be a synonym of 'long')
'some sleep in edinburgh' is the wordplay.
'some' says the answer is hidden in the clue (some of the parts of the word are used).
'PINED' can be found hidden inside 'sleep in edinburgh'.
'to get' is the link.
(Other definitions for pined that I've seen before include "Starved" , "Longed; wasted (away)" , "Became ill with longing" , "Languished, yearned" .)