2018-10-27 15:17:16 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-08 19:54:53 +01:00
|
|
|
, setuptools_scm
|
2018-10-27 15:17:16 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sorl-thumbnail";
|
2020-06-06 07:47:32 +01:00
|
|
|
version = "12.6.3";
|
2018-10-27 15:17:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:32 +01:00
|
|
|
sha256 = "66771521f3c0ed771e1ce8e1aaf1639ebff18f7f5a40cfd3083da8f0fe6c7c99";
|
2018-10-27 15:17:16 +01:00
|
|
|
};
|
|
|
|
|
2020-06-08 19:54:53 +01:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
2018-10-27 15:17:16 +01:00
|
|
|
# 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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sorl-thumbnail.readthedocs.org/en/latest/";
|
2018-10-27 15:17:16 +01:00
|
|
|
description = "Thumbnails for Django";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|