1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5
6# dependencies
7, filetype
8, defusedxml,
9}:
10
11buildPythonPackage rec {
12 pname = "willow";
13 version = "1.5.1";
14 format = "setuptools";
15
16 disabled = pythonOlder "2.7";
17
18 src = fetchPypi {
19 pname = "Willow";
20 inherit version;
21 hash = "sha256-t6SQkRATP9seIodZLgZzzCVeAobhzVNCfuaN8ckiDEw=";
22 };
23
24 propagatedBuildInputs = [
25 filetype
26 defusedxml
27 ];
28
29 # Test data is not included
30 # https://github.com/torchbox/Willow/issues/34
31 doCheck = false;
32
33 meta = with lib; {
34 description = "A Python image library that sits on top of Pillow, Wand and OpenCV";
35 homepage = "https://github.com/torchbox/Willow/";
36 license = licenses.bsd2;
37 maintainers = with maintainers; [ desiderius ];
38 };
39
40}