Absorbing-state phase transition for driven-dissipative stochastic dynamics on ℤ