depot/third_party/nixpkgs/pkgs/development/python-modules/pdftotext/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

26 lines
529 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
poppler,
}:
buildPythonPackage rec {
pname = "pdftotext";
version = "2.2.2";
format = "setuptools";
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 ];
};
}