python3Packages.pypdf3: init at 1.0.5
(cherry picked from commit fb81b076729e0675df8475ad340e7e275c1e8769)
This commit is contained in:
parent
73fbbdab68
commit
ac9ea0dbd9
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, glibcLocales
|
||||||
|
, python
|
||||||
|
, tqdm
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pypdf3";
|
||||||
|
version = "1.0.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
pname = "PyPDF3";
|
||||||
|
inherit version;
|
||||||
|
sha256 = "sha256-DGKpR4p3z8tw4gKi5Hmj09svysD3Hkn4NklhgROmEAU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
buildInputs = [ glibcLocales ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest tests/*.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
tqdm
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A Pure-Python library built as a PDF toolkit";
|
||||||
|
homepage = "https://github.com/sfneal/PyPDF3";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ ambroisie ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6064,6 +6064,8 @@ in {
|
||||||
|
|
||||||
pypdf2 = callPackage ../development/python-modules/pypdf2 { };
|
pypdf2 = callPackage ../development/python-modules/pypdf2 { };
|
||||||
|
|
||||||
|
pypdf3 = callPackage ../development/python-modules/pypdf3 { };
|
||||||
|
|
||||||
pypeg2 = callPackage ../development/python-modules/pypeg2 { };
|
pypeg2 = callPackage ../development/python-modules/pypeg2 { };
|
||||||
|
|
||||||
pyperclip = callPackage ../development/python-modules/pyperclip { };
|
pyperclip = callPackage ../development/python-modules/pyperclip { };
|
||||||
|
|
Loading…
Reference in New Issue