10 pname = "mailexporter";
11 version = "2020-07-16";
13 src = fetchFromGitHub {
15 repo = "mailexporter";
16 rev = "f5a552c736ac40ccdc0110d2e9a71619c1cd6862";
17 hash = "sha256-P7LZi2iXZJaY5AEJBeAVszq/DN9SFxNfeQaflnF6+ng=";
20 vendorHash = "sha256-QOOf00uCdC8fl7V/+Q8X90yQ7xc0Tb6M9dXisdGEisM=";
22 nativeBuildInputs = [ installShellFiles ];
25 installManPage $src/man/mailexporter.1
26 installManPage $src/man/mailexporter.conf.5
29 passthru.tests = { inherit (nixosTests.prometheus-exporters) mail; };
32 description = "Export Prometheus-style metrics about mail server functionality";
33 mainProgram = "mailexporter";
34 homepage = "https://github.com/cherti/mailexporter";
35 license = licenses.gpl3;
36 maintainers = with maintainers; [
40 platforms = platforms.linux;