You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 613B

1234567891011121314151617181920212223242526
  1. { stdenv, buildGoModule, fetchFromGitHub }:
  2. buildGoModule rec {
  3. pname = "pdfcpu";
  4. version = "0.2.5";
  5. src = fetchFromGitHub {
  6. owner = "pdfcpu";
  7. repo = pname;
  8. rev = "v${version}";
  9. sha256 = "0fgdq8byb9pp9wiq3dm0vxw32kbspczqnk41agxpzjf303zmv75y";
  10. };
  11. modSha256 = "1nagb3k2ghfw27g4vcmn7v8s5flg387jpf1l18gw6c44a1xjcivs";
  12. subPackages = [ "cmd/pdfcpu" ];
  13. meta = with stdenv.lib; {
  14. description = "A PDF processor written in Go";
  15. homepage = https://pdfcpu.io;
  16. license = licenses.asl20;
  17. maintainers = with maintainers; [ doronbehar ];
  18. platforms = platforms.all;
  19. };
  20. }