nixpkgs/pkgs/applications/graphics/pdfcpu/default.nix

27 lines
615 B
Nix
Raw Normal View History

2019-06-20 19:13:18 +00:00
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pdfcpu";
2019-08-06 10:10:54 +00:00
version = "0.2.2";
2019-06-20 19:13:18 +00:00
src = fetchFromGitHub {
owner = "hhrutter";
repo = pname;
rev = "v${version}";
2019-08-06 10:10:54 +00:00
sha256 = "1knvi0v9nfzw40dayrw5cjidg9h900143v1pi6240yd7r7isx348";
2019-06-20 19:13:18 +00: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;
};
}