mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
Merge pull request #158111 from jojosch/img2pdf-fix
python3Packages.img2pdf: disable tests with Pillow 9
This commit is contained in:
commit
2b5671a83c
@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, pikepdf
|
||||
, pillow
|
||||
, stdenv
|
||||
@ -26,6 +27,15 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-jlHFBD76lddRSBtRYHGgBvh8KkBZlhqaxD7COJFd4J8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Disable tests broken by Pillow 9.0.0
|
||||
# https://gitlab.mister-muffin.de/josch/img2pdf/issues/130#issuecomment-586
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/debian/img2pdf/-/raw/f77fefc81e7c4b235c47ae6777d222d391c59536/debian/patches/pillow9";
|
||||
sha256 = "sha256-8giZCuv5PzSbrBQqslNqiLOhgxbg3LsdBVwt+DWnvh4=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pikepdf
|
||||
pillow
|
||||
|
Loading…
Reference in New Issue
Block a user