mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
[Backport release-26.05] python3Packages.pypdf: 6.14.2 -> 6.15.0 (#551429)
This commit is contained in:
@@ -141,6 +141,7 @@ python.pkgs.buildPythonPackage (finalAttrs: {
|
||||
"huey"
|
||||
"nh3"
|
||||
"psycopg2-binary"
|
||||
"pypdf"
|
||||
"pypdfium2"
|
||||
];
|
||||
|
||||
|
||||
@@ -12,9 +12,11 @@
|
||||
myst-parser,
|
||||
|
||||
# optionals
|
||||
arabic-reshaper,
|
||||
cryptography,
|
||||
fonttools,
|
||||
pillow,
|
||||
python-bidi,
|
||||
|
||||
# tests
|
||||
fpdf2,
|
||||
@@ -24,7 +26,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pypdf";
|
||||
version = "6.14.2";
|
||||
version = "6.15.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -33,7 +35,7 @@ buildPythonPackage rec {
|
||||
tag = version;
|
||||
# fetch sample files used in tests
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-h7JuQTTUZ5tWoAhixjp+grDVA3JQ8PbHcMBzIyCMOJU=";
|
||||
hash = "sha256-e39xclCnXlX4oagx4TnFCf99VKdJZeM2Kc3set1KXuo=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
@@ -55,10 +57,14 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
optional-dependencies = rec {
|
||||
full = crypto ++ fonts ++ image;
|
||||
full = crypto ++ fonts ++ image ++ rtl_text;
|
||||
crypto = [ cryptography ];
|
||||
fonts = [ fonttools ];
|
||||
image = [ pillow ];
|
||||
rtl_text = [
|
||||
arabic-reshaper
|
||||
python-bidi
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "pypdf" ];
|
||||
|
||||
Reference in New Issue
Block a user