Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 721 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.1"; 12 disabled = pythonOlder "2.7"; 13 14 src = fetchPypi { 15 pname = "Willow"; 16 inherit version; 17 sha256 = "818ee11803c90a0a6d49c94b0453d6266be1ef83ae00de72731c45fae4d3e78c"; 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}