Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 607 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7let 8 pname = "pdfannots2json"; 9 version = "1.0.16"; 10in 11buildGoModule { 12 inherit pname version; 13 14 src = fetchFromGitHub { 15 owner = "mgmeyers"; 16 repo = "pdfannots2json"; 17 tag = version; 18 hash = "sha256-qk4OSws/6SevN/Q0lsyxw+fZkm2uy1WwOYYL7CB7QUk="; 19 }; 20 21 vendorHash = null; 22 23 meta = with lib; { 24 homepage = "https://github.com/mgmeyers/pdfannots2json"; 25 license = licenses.agpl3Only; 26 description = "Tool to convert PDF annotations to JSON"; 27 mainProgram = "pdfannots2json"; 28 maintainers = with maintainers; [ _0nyr ]; 29 }; 30}