summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pdftotext/default.nix
blob: ac71960910f2eef8c2a77a8d1ef3778738fd1d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  lib,
  buildPythonPackage,
  fetchPypi,
  poppler,
}:

buildPythonPackage rec {
  pname = "pdftotext";
  version = "3.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-w2UrGRVOFFUVqL+pU/xhNjOO2SM3vcy7U/4NiAE7Gqo=";
  };

  buildInputs = [ poppler ];

  meta = {
    description = "Simple PDF text extraction";
    homepage = "https://github.com/jalan/pdftotext";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ erikarvstedt ];
  };
}