2017-08-31 20:11:11 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi,
|
|
|
|
django, pillow
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "easy-thumbnails";
|
|
|
|
name = "${pname}-${version}";
|
2017-12-30 11:22:31 +00:00
|
|
|
version = "2.5";
|
2017-08-31 20:11:11 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Easy thumbnails for Django";
|
|
|
|
homepage = https://github.com/SmileyChris/easy-thumbnails;
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 11:22:31 +00:00
|
|
|
sha256 = "e244d1f26027fc32c6ca60ffb0169a39099446f614b0433e907a2588ae7d9b95";
|
2017-08-31 20:11:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ django pillow ];
|
|
|
|
}
|