python312Packages.pypdf: 4.1.0 → 4.2.0 (#313482)

authored by Jan van Esdonk and committed by GitHub 4469a8c9 04d3e025

+3 -20
+3 -20
pkgs/development/python-modules/pypdf/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 - fetchpatch2, 6 5 pythonOlder, 7 6 8 7 # build-system ··· 28 27 29 28 buildPythonPackage rec { 30 29 pname = "pypdf"; 31 - version = "4.1.0"; 30 + version = "4.2.0"; 32 31 format = "pyproject"; 33 32 34 33 src = fetchFromGitHub { ··· 37 36 rev = "refs/tags/${version}"; 38 37 # fetch sample files used in tests 39 38 fetchSubmodules = true; 40 - hash = "sha256-Z3flDC102FwEaNtef0YAfmAFSxpimQNyxt9tRfpKueg="; 39 + hash = "sha256-ksLpxfRxrNVXezF0VjbAqadpF6bv/SAOOnCKabhugo0="; 41 40 }; 42 41 43 - patches = [ 44 - (fetchpatch2 { 45 - # add missing test marker on networked test 46 - url = "https://github.com/py-pdf/pypdf/commit/f43268734a529d4098e6258bf346148fd24c54f0.patch"; 47 - includes = [ "tests/test_generic.py" ]; 48 - hash = "sha256-Ow32UB4crs3OgT+AmA9TNmcO5Y9SoSahybzD3AmWmVk="; 49 - }) 50 - ]; 51 - 52 42 outputs = [ 53 43 "out" 54 44 "doc" ··· 90 80 "'not enable_socket'" 91 81 ]; 92 82 93 - disabledTests = [ 94 - # requires fpdf2 which we don't package yet 95 - "test_compression" 96 - # infinite recursion when including fpdf2 97 - "test_merging_many_temporary_files" 98 - ]; 99 - 100 83 meta = with lib; { 101 84 description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files"; 102 85 homepage = "https://github.com/py-pdf/pypdf"; 103 86 changelog = "https://github.com/py-pdf/pypdf/blob/${src.rev}/CHANGELOG.md"; 104 87 license = licenses.bsd3; 105 - maintainers = with maintainers; [ ]; 88 + maintainers = with maintainers; [ javaes ]; 106 89 }; 107 90 }