services: Add getmail.
authorChristopher Baines <mail@cbaines.net>
Thu, 4 Apr 2019 16:36:49 +0000 (17:36 +0100)
committerChristopher Baines <mail@cbaines.net>
Fri, 31 May 2019 19:22:20 +0000 (20:22 +0100)
commitf6b0e1f8ff6a6459d7d39238ced165f4caa988fe
tree332669aefb9896461c6ead1b2bdf606c33b74271
parent9bc1de31348858278067a45c5965328677ee74d8
services: Add getmail.

Getmail is a mail retriever written in Python, this commit adds a service-type
to run getmail. I'm looking at this, as it's a convinient way of getting
mailing list messages in to Patchwork.

I initially tried putting this in the (gnu services mail) module, but due to
also trying to use the define-configuration pattern, it conflicted with the
dovecot service.

* gnu/services/getmail.scm: New file.
* gnu/local.mk: Add it.
* gnu/tests/mail.scm (%getmail-os, %test-getmail): New variables.
(run-getmail-test): New procedure.
doc/guix.texi
gnu/local.mk
gnu/services/getmail.scm [new file with mode: 0644]
gnu/tests/mail.scm