1{ lib, stdenv, buildPythonPackage, fetchPypi, isPyPy, isPy3k
2, olefile, freetype, libjpeg, zlib, libtiff, libwebp, tcl, lcms2, tk, libX11
3, openjpeg, libimagequant, pyroma, numpy, pytestCheckHook
4}@args:
5
6import ./generic.nix (rec {
7 pname = "Pillow";
8 version = "6.2.2";
9
10 disabled = !isPy3k;
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "0l5rv8jkdrb5q846v60v03mcq64yrhklidjkgwv6s1pda71g17yv";
15 };
16
17 meta = with lib; {
18 homepage = "https://python-pillow.org/";
19 description = "The friendly PIL fork (Python Imaging Library)";
20 longDescription = ''
21 The Python Imaging Library (PIL) adds image processing
22 capabilities to your Python interpreter. This library
23 supports many file formats, and provides powerful image
24 processing and graphics capabilities.
25 '';
26 license = "http://www.pythonware.com/products/pil/license.htm";
27 maintainers = with maintainers; [ goibhniu prikhi SuperSandro2000 ];
28 knownVulnerabilities = [
29 "CVE-2020-10177"
30 "CVE-2020-10378"
31 "CVE-2020-10379"
32 "CVE-2020-10994"
33 "CVE-2020-11538"
34 "CVE-2020-35653"
35 "CVE-2020-35654"
36 "CVE-2020-35655"
37 "CVE-2021-25289"
38 "CVE-2021-25290"
39 "CVE-2021-25291"
40 "CVE-2021-25292"
41 "CVE-2021-25293"
42 "CVE-2021-27921"
43 "CVE-2021-27922"
44 "CVE-2021-27923"
45 ];
46 };
47} // args )