11 buildPythonPackage rec {
12 pname = "sorl-thumbnail";
16 disabled = pythonOlder "3.8";
19 pname = "sorl_thumbnail";
21 hash = "sha256-GRuJwn7LQLXCo1VJ1VfRfEhBxq/0ObLhe5OLke6kY7M=";
29 buildInputs = [ django ];
31 env.DJANGO_SETTINGS_MODULE = "sorl.thumbnail.conf.defaults";
33 # Disabled due to an improper configuration error when tested against django. This looks like something broken in the test cases for sorl.
36 pythonImportsCheck = [ "sorl.thumbnail" ];
39 homepage = "https://sorl-thumbnail.readthedocs.org/en/latest/";
40 description = "Thumbnails for Django";
41 changelog = "https://github.com/jazzband/sorl-thumbnail/blob/${version}/CHANGES.rst";
42 license = licenses.bsd3;