depot/third_party/nixpkgs/pkgs/development/python-modules/pdftotext/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

20 lines
492 B
Nix

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