8 pname = "imap-mailstat-exporter";
11 src = fetchFromGitHub {
13 repo = "imap-mailstat-exporter";
14 rev = "refs/tags/v${version}";
15 hash = "sha256-aR/94C9SI+FPs3zg3bpexmgGYrhxghyHwpXj25x0yuw=";
18 vendorHash = "sha256-M5Ho4CiO5DC6mWzenXEo2pu0WLHj5S8AV3oEFwD31Sw=";
20 nativeBuildInputs = [ installShellFiles ];
23 description = "Export Prometheus-style metrics about how many emails you have in your INBOX and in additional configured folders";
24 mainProgram = "imap-mailstat-exporter";
25 homepage = "https://github.com/bt909/imap-mailstat-exporter";
26 license = licenses.mit;
27 maintainers = with maintainers; [ raboof ];
28 platforms = platforms.linux;