diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 79c844ce7476..17c93a5a1125 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; diff --git a/pkgs/applications/graphics/pdfcpu/default.nix b/pkgs/applications/graphics/pdfcpu/default.nix new file mode 100644 index 000000000000..f13e36ce99e7 --- /dev/null +++ b/pkgs/applications/graphics/pdfcpu/default.nix @@ -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; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f90aa516e563..3e9fe1528a01 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19568,6 +19568,7 @@ in inherit (gnome2) libgnomecanvas; }; + pdfcpu = callPackage ../applications/graphics/pdfcpu { }; pdftk = callPackage ../tools/typesetting/pdftk { }; pdfgrep = callPackage ../tools/typesetting/pdfgrep { };