8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
33 lines
702 B
Nix
33 lines
702 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, six
|
|
, pillow
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "willow";
|
|
version = "1.4.1";
|
|
disabled = pythonOlder "2.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "Willow";
|
|
inherit version;
|
|
sha256 = "sha256-Dfj/UoUx4AtI1Av3Ltgb6sHcgvLULlu+1K/wIYvvjA0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six pillow ];
|
|
|
|
# Test data is not included
|
|
# https://github.com/torchbox/Willow/issues/34
|
|
doCheck = false;
|
|
|
|
meta = with 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 ];
|
|
};
|
|
|
|
}
|