mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
Merge pull request #277910 from risicle/ris-pypdf-3.17.4
python3Packages.pypdf: 3.16.0 -> 3.17.4
This commit is contained in:
commit
409109ae50
@ -19,13 +19,14 @@
|
||||
, pillow
|
||||
|
||||
# tests
|
||||
, fpdf2
|
||||
, pytestCheckHook
|
||||
, pytest-timeout
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pypdf";
|
||||
version = "3.16.0";
|
||||
version = "3.17.4";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -34,7 +35,7 @@ buildPythonPackage rec {
|
||||
rev = "refs/tags/${version}";
|
||||
# fetch sample files used in tests
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-vE5ujknMpufBuwWqtjkLegTRe4eDAvBVPCVM6It2pHQ=";
|
||||
hash = "sha256-2FKTBN1VZX0LGiDEghix4DBt1gO9NRNB/lAUefu5EUA=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
@ -75,6 +76,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
(fpdf2.overridePythonAttrs { doCheck = false; }) # avoid reference loop
|
||||
pytestCheckHook
|
||||
pytest-timeout
|
||||
] ++ passthru.optional-dependencies.full;
|
||||
|
Loading…
Reference in New Issue
Block a user