12 buildPythonPackage rec {
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
20 owner = "matthewwithanm";
23 hash = "sha256-NmD9PFCkz3lz4AnGoQUpkt35q0zvDVm+kx7lVDFBcHk=";
26 nativeBuildInputs = [ setuptools ];
28 propagatedBuildInputs = [ pillow ];
36 substituteInPlace tox.ini \
37 --replace " --cov --cov-report term-missing:skip-covered" ""
38 substituteInPlace pilkit/processors/resize.py \
39 --replace "Image.ANTIALIAS" "Image.Resampling.LANCZOS"
42 pythonImportsCheck = [ "pilkit" ];
45 description = "Collection of utilities and processors for the Python Imaging Library";
46 homepage = "https://github.com/matthewwithanm/pilkit/";
47 license = licenses.bsd3;
48 maintainers = with maintainers; [ domenkozar ];