Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pillow / default.nix
blobf101d6b361ec164604d70e399e03932ac5a3b31e
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, numpy, pytestCheckHook, setuptools
9 # for passthru.tests
10 , imageio, matplotlib, pilkit, pydicom, reportlab
11 }@args:
13 import ./generic.nix (rec {
14   pname = "pillow";
15   version = "10.2.0";
16   format = "pyproject";
18   disabled = pythonOlder "3.8";
20   src = fetchPypi {
21     pname = "pillow";
22     inherit version;
23     hash = "sha256-6H8LLHgVfhLXaGsn1jwHD9ZdmU6N2ubzKODc9KDNAH4=";
24   };
26   passthru.tests = {
27     inherit imageio matplotlib pilkit pydicom reportlab;
28   };
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 )