nixpkgs/pkgs/applications/graphics/pdfcpu/default.nix
2021-02-14 05:56:17 +00:00

28 lines
607 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pdfcpu";
version = "0.3.9";
src = fetchFromGitHub {
owner = "pdfcpu";
repo = pname;
rev = "v${version}";
sha256 = "sha256-btkGn/67KVFB272j7u5MKZCeby2fyRthLLeXj8VgX7s=";
};
vendorSha256 = "sha256-/SsDDFveovJfuEdnOkxHAWccS8PJW5k9IHSxSJAgHMQ=";
# No tests
doCheck = false;
subPackages = [ "cmd/pdfcpu" ];
meta = with lib; {
description = "A PDF processor written in Go";
homepage = "https://pdfcpu.io";
license = licenses.asl20;
maintainers = with maintainers; [ doronbehar ];
};
}