imapgoose: init at 0.4.2

This commit is contained in:
Bob Bobber
2026-02-26 18:47:54 -05:00
parent 071ec9f266
commit 4496435b18
+53
View File
@@ -0,0 +1,53 @@
{
lib,
buildGoModule,
fetchFromSourcehut,
installShellFiles,
}:
buildGoModule rec {
pname = "imapgoose";
version = "0.4.2";
src = fetchFromSourcehut {
owner = "~whynothugo";
repo = "ImapGoose";
tag = "v${version}";
hash = "sha256-Zu2cHCTl6RyZzndFrLM7xTeD/T3isVerIB8D6vD3jIU=";
};
vendorHash = "sha256-6mh6KsJlijXn+bLzmtJSC4lcYFChQdyBKEjFzbQMIM0=";
subPackages = [
"cmd/imapgoose"
"cmd/capcheck"
];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage imapgoose.1
installManPage imapgoose.conf.5
'';
meta = {
description = "IMAP to Maildir synchronization tool";
longDescription = ''
ImapGoose is a daemon that continuously keeps local mailboxes in sync
with an IMAP server. It monitors both the IMAP server and local
filesystem, immediately synchronizing changes within seconds. Unlike
traditional sync tools, ImapGoose is highly optimized to reduce network
traffic by leveraging modern IMAP extensions (CONDSTORE, QRESYNC, and
NOTIFY) to perform efficient incremental syncs. It can monitor multiple
mailboxes per connection and automatically reconnects with exponential
back-off when network issues occur.
'';
homepage = "https://git.sr.ht/~whynothugo/ImapGoose";
changelog = "https://git.sr.ht/~whynothugo/ImapGoose/refs/v${version}";
license = lib.licenses.isc;
platforms = lib.platforms.linux;
mainProgram = "imapgoose";
maintainers = with lib.maintainers; [
bobberb
];
};
}