depot/third_party/nixpkgs/pkgs/development/python-modules/pdftotext/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

20 lines
495 B
Nix

{ lib, buildPythonPackage, fetchPypi, poppler }:
buildPythonPackage rec {
pname = "pdftotext";
version = "2.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "2a9aa89bc62022408781b39d188fabf5a3ad1103b6630f32c4e27e395f7966ee";
};
buildInputs = [ poppler ];
meta = with lib; {
description = "Simple PDF text extraction";
homepage = "https://github.com/jalan/pdftotext";
license = licenses.mit;
maintainers = with maintainers; [ erikarvstedt ];
};
}