at 23.11-beta 1.2 kB view raw
1{ lib 2, stdenv 3, buildPythonPackage 4, pythonOlder 5, fetchPypi 6, isPyPy 7, defusedxml, olefile, freetype, libjpeg, zlib, libtiff, libwebp, libxcrypt, tcl, lcms2, tk, libX11 8, libxcb, openjpeg, libimagequant, pyroma, numpy, pytestCheckHook, setuptools 9# for passthru.tests 10, imageio, matplotlib, pilkit, pydicom, reportlab 11}@args: 12 13import ./generic.nix (rec { 14 pname = "pillow"; 15 version = "10.1.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 pname = "Pillow"; 22 inherit version; 23 hash = "sha256-5r+N5sNu2WyG6jtuHVJzxT9G71GKBiRkzX713Sz5Ljg="; 24 }; 25 26 passthru.tests = { 27 inherit imageio matplotlib pilkit pydicom reportlab; 28 }; 29 30 meta = with lib; { 31 homepage = "https://python-pillow.org/"; 32 description = "The friendly PIL fork (Python Imaging Library)"; 33 longDescription = '' 34 The Python Imaging Library (PIL) adds image processing 35 capabilities to your Python interpreter. This library 36 supports many file formats, and provides powerful image 37 processing and graphics capabilities. 38 ''; 39 license = licenses.hpnd; 40 maintainers = with maintainers; [ goibhniu prikhi ]; 41 }; 42} // args )