2018-10-29 19:00:41 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, six
|
|
|
|
, pillow
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "willow";
|
2019-11-03 01:08:51 +00:00
|
|
|
version = "1.3";
|
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;
|
2019-11-03 01:08:51 +00:00
|
|
|
sha256 = "0dzc3cjkwp0h3v1n94c33zr5yw5fdd6dkm6vccp9i8dncmpw912g";
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/torchbox/Willow/";
|
2018-10-29 19:00:41 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|