28 lines
619 B
Nix
Raw Normal View History

2019-06-20 22:13:18 +03:00
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pdfcpu";
2020-09-02 20:24:47 +03:00
version = "0.3.5";
2019-06-20 22:13:18 +03:00
src = fetchFromGitHub {
2019-08-12 11:16:39 +03:00
owner = "pdfcpu";
2019-06-20 22:13:18 +03:00
repo = pname;
rev = "v${version}";
2020-09-02 20:24:47 +03:00
sha256 = "0fb7l1h4dhn100y2ydq50cgj63fbr4p11x8h803rv6x3xwmviwcg";
2019-06-20 22:13:18 +03:00
};
2020-09-02 20:24:47 +03:00
vendorSha256 = "06xlwygqw3kzbjqlx09rs9hl4pfsmay5pj4c5hvkrj5z123ldvyw";
2019-06-20 22:13:18 +03:00
2020-09-02 20:24:47 +03:00
# No tests
doCheck = false;
2019-06-20 22:13:18 +03:00
subPackages = [ "cmd/pdfcpu" ];
meta = with stdenv.lib; {
description = "A PDF processor written in Go";
homepage = "https://pdfcpu.io";
2019-06-20 22:13:18 +03:00
license = licenses.asl20;
maintainers = with maintainers; [ doronbehar ];
};
}