about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/pd/pdfannots2json/package.nix
blob: 9d32f9a7c92cf1ba48bfb2453f1ff7441c49328f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, buildGoModule, fetchFromGitHub }:

let
  pname = "pdfannots2json";
  version = "1.0.16";
in
  buildGoModule {
    inherit pname version;

    src = fetchFromGitHub {
      owner = "mgmeyers";
      repo = "pdfannots2json";
      rev = "refs/tags/${version}";
      sha256 = "sha256-qk4OSws/6SevN/Q0lsyxw+fZkm2uy1WwOYYL7CB7QUk=";
    };

    vendorHash = null;

    meta = with lib; {
      homepage = "https://github.com/mgmeyers/pdfannots2json";
      license = licenses.agpl3Only;
      description = "A tool to convert PDF annotations to JSON";
      mainProgram = "pdfannots2json";
      maintainers = with maintainers; [ _0nyr ];
    };
  }