You asked:

is repo a derivative

No. Repo is not a derivative instrument.
Repo