2018-10-27 15:17:16 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sorl-thumbnail";
|
2018-11-04 10:35:17 +00:00
|
|
|
version = "12.5.0";
|
2018-10-27 15:17:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:17 +00:00
|
|
|
sha256 = "8dfe5fda91a5047d1d35a0b9effe7b000764a01d648e15ca076f44e9c34b6dbd";
|
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; {
|
2019-04-22 09:24:21 +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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|