python3Packages.pypdf: 3.17.4 -> 4.1.0

https://github.com/py-pdf/pypdf/blob/refs/tags/4.1.0/CHANGELOG.md
This commit is contained in:
Martin Weinelt
2024-03-12 18:24:45 +01:00
parent 4b2d6ca98f
commit 3ad6e75208
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch2
, pythonOlder
# build-system
@@ -26,7 +27,7 @@
buildPythonPackage rec {
pname = "pypdf";
version = "3.17.4";
version = "4.1.0";
format = "pyproject";
src = fetchFromGitHub {
@@ -35,9 +36,20 @@ buildPythonPackage rec {
rev = "refs/tags/${version}";
# fetch sample files used in tests
fetchSubmodules = true;
hash = "sha256-2FKTBN1VZX0LGiDEghix4DBt1gO9NRNB/lAUefu5EUA=";
hash = "sha256-Z3flDC102FwEaNtef0YAfmAFSxpimQNyxt9tRfpKueg=";
};
patches = [
(fetchpatch2 {
# add missing test marker on networked test
url = "https://github.com/py-pdf/pypdf/commit/f43268734a529d4098e6258bf346148fd24c54f0.patch";
includes = [
"tests/test_generic.py"
];
hash = "sha256-Ow32UB4crs3OgT+AmA9TNmcO5Y9SoSahybzD3AmWmVk=";
})
];
outputs = [
"out"
"doc"