nixpkgs/pkgs/development/python-modules/pdftotext/default.nix

21 lines
490 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, poppler }:
buildPythonPackage rec {
pname = "pdftotext";
2019-10-16 09:43:11 +00:00
version = "2.1.2";
src = fetchPypi {
inherit pname version;
2019-10-16 09:43:11 +00:00
sha256 = "c8bdc47b08baa17b8e03ba1f960fc6335b183d2644eaf7300e088516758a6090";
};
buildInputs = [ poppler ];
meta = with lib; {
description = "Simple PDF text extraction";
homepage = https://github.com/jalan/pdftotext;
license = licenses.mit;
maintainers = with maintainers; [ earvstedt ];
};
}