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