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