2019-09-23 11:20:56 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, django
|
|
|
|
, redis, async-timeout, hiredis
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-cleanup";
|
2020-08-16 18:30:57 +01:00
|
|
|
version = "5.0.0";
|
2019-09-23 11:20:56 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:30:57 +01:00
|
|
|
sha256 = "84f0c0e0a74545adae4c944a76ccf8fb0c195dddccf3b7195c59267abb7763dd";
|
2019-09-23 11:20:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ django ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|