1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 django, 6 six, 7 pycrypto, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "libthumbor"; 13 version = "2.0.2"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-1PsiFZrTDVQqy8A3nkaM5LdPiBoriRgHkklTOiczN+g="; 21 }; 22 23 buildInputs = [ django ]; 24 25 propagatedBuildInputs = [ 26 six 27 pycrypto 28 ]; 29 30 doCheck = false; 31 32 pythonImportsCheck = [ "libthumbor" ]; 33 34 meta = with lib; { 35 description = "Python extension to thumbor"; 36 homepage = "https://github.com/heynemann/libthumbor"; 37 license = licenses.mit; 38 maintainers = [ ]; 39 }; 40}