Merge pull request #149483 from r-ryantm/auto-update/pdfcpu

This commit is contained in:
Doron Behar 2021-12-08 07:29:20 +02:00 committed by GitHub
commit 1b4fb03928
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,19 +2,25 @@
buildGoModule rec {
pname = "pdfcpu";
version = "0.3.12";
version = "0.3.13";
src = fetchFromGitHub {
owner = "pdfcpu";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Ts4FJWUeWHVfeBEetgACYMGEsDLHm5JOEEn7EtQduPU=";
sha256 = "sha256-CFKo8YEAXAniX+jL2A0naJUOn3KAWwcrPsabdiZevhI=";
};
vendorSha256 = "sha256-p/2Bu5h2P3ebgvSC12jdR2Zpd27xCFwtB/KZV0AULAM=";
# 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" ];