It's cheaper than that. I've let my Apple developer subscription lapse but I can still sign packages until my certificate expires. You can probably also get a reasonable second-hand Mac mini for $200.
So you are looking at an up-front cost of $300 then around $25 per year.