at 23.05-pre 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 9# for passthru.tests 10, imageio, matplotlib, pilkit, pydicom, reportlab 11}@args: 12 13import ./generic.nix (rec { 14 pname = "pillow"; 15 version = "9.2.0"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 pname = "Pillow"; 21 inherit version; 22 sha256 = "sha256-deY2/T4PuHJpPyPMuKX/LNV4gBJR86T2hUxqXUN9PAQ="; 23 }; 24 25 passthru.tests = { 26 inherit imageio matplotlib pilkit pydicom reportlab; 27 }; 28 29 meta = with lib; { 30 homepage = "https://python-pillow.org/"; 31 description = "The friendly PIL fork (Python Imaging Library)"; 32 longDescription = '' 33 The Python Imaging Library (PIL) adds image processing 34 capabilities to your Python interpreter. This library 35 supports many file formats, and provides powerful image 36 processing and graphics capabilities. 37 ''; 38 license = licenses.hpnd; 39 maintainers = with maintainers; [ goibhniu prikhi SuperSandro2000 ]; 40 }; 41} // args )