Phenomenology of nuclear shadowing in deep-inelastic scattering