about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pdftotext/default.nix
blob: 0a2427283f46061beb6a1d7bca5a84350f776a56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, buildPythonPackage, fetchPypi, poppler }:

buildPythonPackage rec {
  pname = "pdftotext";
  version = "2.1.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c8bdc47b08baa17b8e03ba1f960fc6335b183d2644eaf7300e088516758a6090";
  };

  buildInputs = [ poppler ];

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