2019-06-20 20:13:18 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pdfcpu";
|
2019-08-12 09:16:39 +01:00
|
|
|
version = "0.2.3";
|
2019-06-20 20:13:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-08-12 09:16:39 +01:00
|
|
|
owner = "pdfcpu";
|
2019-06-20 20:13:18 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-08-12 09:16:39 +01:00
|
|
|
sha256 = "11q57j3wzmy2glkv53i9n7jkp14x4bqm20f3rqs3gkm4j9bcas4y";
|
2019-06-20 20:13:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
modSha256 = "0cz4gs88s9z2yv1gc9ap92vv2j93ab6kr25zjgl2r7z6clbl5fzp";
|
|
|
|
|
|
|
|
subPackages = [ "cmd/pdfcpu" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A PDF processor written in Go";
|
|
|
|
homepage = https://pdfcpu.io;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|