depot/third_party/nixpkgs/pkgs/development/python-modules/pdftotext/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

20 lines
479 B
Nix

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