Before that you will have to translate your input voltage to a positive only voltage between 0V and +5V.
Here is an example making this:
LED diver.fzz (3.8 KB)
You will have to connect ADC signal to an analog to digital converter of your ATtiny.
And write a code that reads this signal and make your LED blink in function of voltage level.