base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / pd / pdfannots / package.nix
blob7a7cbeeebab485e9db181cec3bbcab7c396942cd
1 { lib, python3, fetchFromGitHub }:
3 python3.pkgs.buildPythonApplication rec {
4   pname = "pdfannots";
5   version = "0.4";
6   pyproject = true;
8   src = fetchFromGitHub {
9     owner = "0xabu";
10     repo = "pdfannots";
11     rev = "v${version}";
12     hash = "sha256-C0Ss6kZvPx0hHnpBKquEolxeuTfjshhSBSIDXcCKtM8=";
13   };
15   nativeBuildInputs = [
16     python3.pkgs.setuptools
17   ];
19   propagatedBuildInputs = [
20     python3.pkgs.pdfminer-six
21   ];
23   pythonImportsCheck = [
24     "pdfannots"
25   ];
27   meta = with lib; {
28     description = "Extracts and formats text annotations from a PDF file";
29     homepage = "https://github.com/0xabu/pdfannots";
30     license = licenses.mit;
31     maintainers = [ ];
32     mainProgram = "pdfannots";
33   };