2018-10-29 19:00:41 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, six
|
|
|
|
, pillow
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "willow";
|
2018-11-04 10:35:21 +00:00
|
|
|
version = "1.1";
|
2018-10-29 19:00:41 +00:00
|
|
|
disabled = pythonOlder "2.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2019-03-05 11:50:23 +00:00
|
|
|
pname = "Willow";
|
|
|
|
inherit version;
|
2018-11-04 10:35:21 +00:00
|
|
|
sha256 = "818ee11803c90a0a6d49c94b0453d6266be1ef83ae00de72731c45fae4d3e78c";
|
2018-10-29 19:00:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six pillow ];
|
|
|
|
|
|
|
|
# Test data is not included
|
|
|
|
# https://github.com/torchbox/Willow/issues/34
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Python image library that sits on top of Pillow, Wand and OpenCV";
|
|
|
|
homepage = https://github.com/torchbox/Willow/;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|