pdfcpu: Add an installCheck

This commit is contained in:
Doron Behar 2021-12-08 07:04:56 +02:00
parent 3ffb1e60e5
commit 6494a49b1a

View File

@ -15,6 +15,12 @@ buildGoModule rec {
# No tests
doCheck = false;
doInstallCheck = true;
installCheckPhase = ''
export HOME=$(mktemp -d)
echo checking the version print of pdfcpu
$out/bin/pdfcpu version | grep ${version}
'';
subPackages = [ "cmd/pdfcpu" ];