OK, let me put my manager hat on, symbolically anyway because I'm NEVER going back there:
If you don't care about being a prick, complain about them to whoever it is you report to. You may wish them to be silent so that you can be competent at whatever it is you do. Your employer wishes you to be competent also. That's congruent interests of something. They have two counts against them: First, if they are gossiping excessively they aren't doing whatever it is they are paid to do. Second, and this is far more important, if they are interfering with your ability to do your job, you have just found the most wonderful tool in the box. Interfering with other people's ability to do their job is a far worse crime against the employer and fellow employees than not doing their own jobs in the first place.
Look at it like this: Why is whatever drivel they are mumbling more important than your desire to focus and do what you do? You are a person, you have a right to have expectations of others.
That's the "you didn't know I was a prick" approach.
You could just ask them to stop because it's interfering with your ability to do your job. Clever people will hear the hidden "this could go further" message in those words. It's still assertive, just not as dramatic. They get a chance to act like caring human beings.
OK manager hat off. It was a bad fit anyway.