2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, django
|
2019-09-23 11:20:56 +01:00
|
|
|
, redis, async-timeout, hiredis
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-cleanup";
|
2021-06-18 22:47:13 +01:00
|
|
|
version = "5.2.0";
|
2019-09-23 11:20:56 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:13 +01:00
|
|
|
sha256 = "909d10ff574f5ce1a40fa63bd5c94c9ed866fd7ae770994c46cdf66c3db3e846";
|
2019-09-23 11:20:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ django ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-23 11:20:56 +01:00
|
|
|
description = "Automatically deletes old file for FileField and ImageField. It also deletes files on models instance deletion";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/un1t/django-cleanup";
|
2019-09-23 11:20:56 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mmai ];
|
|
|
|
};
|
|
|
|
}
|