aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/sorl_thumbnail/default.nix
blob: f62af59c4edc41a28044b3622b39021ed548a716 (plain)
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
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, setuptools_scm
}:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "66771521f3c0ed771e1ce8e1aaf1639ebff18f7f5a40cfd3083da8f0fe6c7c99";
  };

  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 stdenv.lib; {
    homepage = "https://sorl-thumbnail.readthedocs.org/en/latest/";
    description = "Thumbnails for Django";
    license = licenses.bsd3;
  };

}