@@ -0,0 +1,26 @@
1+{ stdenv, buildGoModule, fetchFromGitHub }:
2+
3+buildGoModule rec {
4+ pname = "pdfcpu";
5+ version = "0.1.25";
6+
7+ src = fetchFromGitHub {
8+ owner = "hhrutter";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "0vmmc7nnvpvsf92yi69rvqif1irkpya2shqyz49sa3s42jh1446b";
12+ };
13+
14+ modSha256 = "0cz4gs88s9z2yv1gc9ap92vv2j93ab6kr25zjgl2r7z6clbl5fzp";
15+
16+ subPackages = [ "cmd/pdfcpu" ];
17+
18+ meta = with stdenv.lib; {
19+ description = "A PDF processor written in Go";
20+ homepage = https://pdfcpu.io;
21+ license = licenses.asl20;
22+ maintainers = with maintainers; [ doronbehar ];
23+ platforms = platforms.all;
24+ };
25+}
26+