From 60f11a668009bc234b31c35279a45e090b45c87a Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 20 Jun 2019 22:13:18 +0300 Subject: [PATCH] pdfcpu: init at 0.1.25 --- pkgs/applications/graphics/pdfcpu/default.nix | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/applications/graphics/pdfcpu/default.nix diff --git a/pkgs/applications/graphics/pdfcpu/default.nix b/pkgs/applications/graphics/pdfcpu/default.nix new file mode 100644 index 00000000000..f13e36ce99e --- /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; + }; +} +