Merge pull request #63552 from doronbehar/package-pdfcpu

pdfcpu: init at 0.1.25
This commit is contained in:
Wael Nasreddine 2019-06-20 22:47:06 -07:00 committed by GitHub
commit d3157cbede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 0 deletions

View File

@ -1353,6 +1353,11 @@
github = "domenkozar";
name = "Domen Kozar";
};
doronbehar = {
email = "me@doronbehar.com";
github = "doronbehar";
name = "Doron Behar";
};
dotlambda = {
email = "rschuetz17@gmail.com";
github = "dotlambda";

View File

@ -0,0 +1,26 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pdfcpu";
version = "0.1.25";
src = fetchFromGitHub {
owner = "hhrutter";
repo = pname;
rev = "v${version}";
sha256 = "0vmmc7nnvpvsf92yi69rvqif1irkpya2shqyz49sa3s42jh1446b";
};
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;
};
}

View File

@ -19568,6 +19568,7 @@ in
inherit (gnome2) libgnomecanvas;
};
pdfcpu = callPackage ../applications/graphics/pdfcpu { };
pdftk = callPackage ../tools/typesetting/pdftk { };
pdfgrep = callPackage ../tools/typesetting/pdfgrep { };