about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sorl_thumbnail/default.nix
blob: 61150ac45bbf157007355f3eea9aaad7328bc01c (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.8.0";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-7io8nwuInlmRk4PTeB8TF9ycSSf7RLIvsUN/b+cFS5Y=";
  };

  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;
  };

}