1{ lib, buildPythonPackage, fetchPypi, poppler }:
2
3buildPythonPackage rec {
4 pname = "pdftotext";
5 version = "2.2.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "2a9aa89bc62022408781b39d188fabf5a3ad1103b6630f32c4e27e395f7966ee";
10 };
11
12 buildInputs = [ poppler ];
13
14 meta = with lib; {
15 description = "Simple PDF text extraction";
16 homepage = "https://github.com/jalan/pdftotext";
17 license = licenses.mit;
18 maintainers = with maintainers; [ erikarvstedt ];
19 };
20}