about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/sorl_thumbnail/default.nix
blob: e918a1aee3bc971d7c9ce0e94f1382ea470891f8 (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, stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, setuptools_scm
}:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "fbe6dfd66a1aceb7e0203895ff5622775e50266f8d8cfd841fe1500bd3e19018";
  };

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

}