Revert "python3Packages.pillow & python3Packages.pillow-simd: Fix cross compilation"

This commit is contained in:
Vladimír Čunát 2023-08-25 15:17:46 +02:00 committed by GitHub
parent 5f139d8cd6
commit 041756f8c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, isPyPy, isPy3k
, olefile, freetype, libjpeg, zlib, libtiff, libwebp, libxcrypt, tcl, lcms2
, libxcb, tk, libX11, openjpeg, libimagequant, pyroma, numpy, defusedxml
, pytestCheckHook, setuptools
, pytestCheckHook
}@args:
import ../pillow/generic.nix (rec {

View file

@ -6,7 +6,7 @@
, fetchpatch
, isPyPy
, defusedxml, olefile, freetype, libjpeg, zlib, libtiff, libwebp, libxcrypt, tcl, lcms2, tk, libX11
, libxcb, openjpeg, libimagequant, pyroma, numpy, pytestCheckHook, setuptools
, libxcb, openjpeg, libimagequant, pyroma, numpy, pytestCheckHook
# for passthru.tests
, imageio, matplotlib, pilkit, pydicom, reportlab
}@args:

View file

@ -39,8 +39,6 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook pyroma numpy ];
nativeBuildInputs = [ setuptools ];
buildInputs = [ freetype libjpeg openjpeg libimagequant zlib libtiff libwebp libxcrypt tcl lcms2 ]
++ lib.optionals (lib.versionAtLeast version "7.1.0") [ libxcb ]
++ lib.optionals (isPyPy) [ tk libX11 ];