summary refs log tree commit diff
path: root/pkgs/development/python-modules/sorl_thumbnail/default.nix
blob: bc9c6fcba3a38b7fa8f567da4b33a1e7d13757a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, setuptools-scm
}:

buildPythonPackage rec {
  pname = "sorl-thumbnail";
  version = "12.9.0";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-DLwvUhUufyJm48LLSuXYOv0ulv1eHELlZnNiuqo9LbM=";
  };

  nativeBuildInputs = [ setuptools-scm ];
  # Disabled due to an improper configuration error when tested against django. This looks like something broken in the test cases for sorl.
  doCheck = false;

  meta = with lib; {
    homepage = "https://sorl-thumbnail.readthedocs.org/en/latest/";
    description = "Thumbnails for Django";
    license = licenses.bsd3;
  };

}