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