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 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 - fetchpatch2, 6 pythonOlder, 7 8 # build-system ··· 28 29 buildPythonPackage rec { 30 pname = "pypdf"; 31 - version = "4.1.0"; 32 format = "pyproject"; 33 34 src = fetchFromGitHub { ··· 37 rev = "refs/tags/${version}"; 38 # fetch sample files used in tests 39 fetchSubmodules = true; 40 - hash = "sha256-Z3flDC102FwEaNtef0YAfmAFSxpimQNyxt9tRfpKueg="; 41 }; 42 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 outputs = [ 53 "out" 54 "doc" ··· 90 "'not enable_socket'" 91 ]; 92 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 meta = with lib; { 101 description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files"; 102 homepage = "https://github.com/py-pdf/pypdf"; 103 changelog = "https://github.com/py-pdf/pypdf/blob/${src.rev}/CHANGELOG.md"; 104 license = licenses.bsd3; 105 - maintainers = with maintainers; [ ]; 106 }; 107 }
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 7 # build-system ··· 27 28 buildPythonPackage rec { 29 pname = "pypdf"; 30 + version = "4.2.0"; 31 format = "pyproject"; 32 33 src = fetchFromGitHub { ··· 36 rev = "refs/tags/${version}"; 37 # fetch sample files used in tests 38 fetchSubmodules = true; 39 + hash = "sha256-ksLpxfRxrNVXezF0VjbAqadpF6bv/SAOOnCKabhugo0="; 40 }; 41 42 outputs = [ 43 "out" 44 "doc" ··· 80 "'not enable_socket'" 81 ]; 82 83 meta = with lib; { 84 description = "A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files"; 85 homepage = "https://github.com/py-pdf/pypdf"; 86 changelog = "https://github.com/py-pdf/pypdf/blob/${src.rev}/CHANGELOG.md"; 87 license = licenses.bsd3; 88 + maintainers = with maintainers; [ javaes ]; 89 }; 90 }