dmarc-report-converter: replace custom test with testers.testVersion

This commit is contained in:
Andreas Zweili 2024-10-27 14:35:39 +01:00
parent eafc83d37d
commit 4449484156

View File

@ -3,7 +3,7 @@
buildGoModule,
dmarc-report-converter,
fetchFromGitHub,
runCommand,
testers,
}:
buildGoModule rec {
@ -25,11 +25,7 @@ buildGoModule rec {
"-X main.version=${version}"
];
passthru.tests = {
simple = runCommand "dmarc-report-converter-test" { } ''
${dmarc-report-converter}/bin/dmarc-report-converter -h > $out
'';
};
passthru.tests.version = testers.testVersion { package = dmarc-report-converter; };
meta = {
description = "Convert DMARC report files from xml to human-readable formats";