Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 20 lines 492 B view raw
1{ lib, buildPythonPackage, fetchPypi, poppler }: 2 3buildPythonPackage rec { 4 pname = "pdftotext"; 5 version = "2.1.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "98aeb8b07a4127e1a30223bd933ef080bbd29aa88f801717ca6c5618380b8aa6"; 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}