at master 704 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 glibcLocales, 6 python, 7 tqdm, 8}: 9 10buildPythonPackage rec { 11 pname = "pypdf3"; 12 version = "1.0.6"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 pname = "PyPDF3"; 17 inherit version; 18 hash = "sha256-yUbzJzQZ43JY415yJz9JkEqxVyPYenYcERXvmXmfjF8="; 19 }; 20 21 LC_ALL = "en_US.UTF-8"; 22 buildInputs = [ glibcLocales ]; 23 24 checkPhase = '' 25 ${python.interpreter} -m unittest tests/*.py 26 ''; 27 28 propagatedBuildInputs = [ tqdm ]; 29 30 meta = with lib; { 31 description = "Pure-Python library built as a PDF toolkit"; 32 homepage = "https://github.com/sfneal/PyPDF3"; 33 license = licenses.bsd3; 34 maintainers = with maintainers; [ ambroisie ]; 35 }; 36}