Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 33 lines 709 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, six 6, pillow 7}: 8 9buildPythonPackage rec { 10 pname = "willow"; 11 version = "1.3"; 12 disabled = pythonOlder "2.7"; 13 14 src = fetchPypi { 15 pname = "Willow"; 16 inherit version; 17 sha256 = "0dzc3cjkwp0h3v1n94c33zr5yw5fdd6dkm6vccp9i8dncmpw912g"; 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 stdenv.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}