2024-01-30 15:47:59 +01:00
|
|
|
{ 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}";
|
2024-09-14 23:47:11 +02:00
|
|
|
hash = "sha256-qk4OSws/6SevN/Q0lsyxw+fZkm2uy1WwOYYL7CB7QUk=";
|
2024-01-30 15:47:59 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mgmeyers/pdfannots2json";
|
2024-03-19 13:26:06 +01:00
|
|
|
license = licenses.agpl3Only;
|
2024-01-30 15:47:59 +01:00
|
|
|
description = "Tool to convert PDF annotations to JSON";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "pdfannots2json";
|
2024-01-30 15:47:59 +01:00
|
|
|
maintainers = with maintainers; [ _0nyr ];
|
|
|
|
};
|
|
|
|
}
|