Miniaturized peristaltic rotary pump for non-continuous drug dosing