I2C Bus with ATtiny

I am a total starter at programming.

I would like to connect my Arduino mega 2560 with an Atmel ATtiny 45 with I2C Bus.

The problem is I cannot find a functionable library for the ATtiny45. I tested a few. But there are always failures.
I program my ATtiny with ArduinoISP.

Can anyone help me?