mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
27 lines
649 B
Nix
27 lines
649 B
Nix
{ 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";
|
|
mainProgram = "pdfannots2json";
|
|
maintainers = with maintainers; [ _0nyr ];
|
|
};
|
|
}
|