Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 20 lines 478 B view raw
1{ lib, buildPythonPackage, fetchPypi, poppler }: 2 3buildPythonPackage rec { 4 pname = "pdftotext"; 5 version = "2.1.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1jwc2zpss0983wqqi0kpichasljsxar9c4ma8vycn8maw3pi3bg3"; 10 }; 11 12 buildInputs = [ poppler ]; 13 14 meta = with lib; { 15 description = "Simple PDF text extraction"; 16 homepage = https://github.com/jalan/pdftotext; 17 license = licenses.mit; 18 maintainers = with maintainers; [ earvstedt ]; 19 }; 20}