2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, django
|
2019-09-23 10:20:56 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-cleanup";
|
2022-01-25 05:35:44 +00:00
|
|
|
version = "6.0.0";
|
2019-09-23 10:20:56 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-25 05:35:44 +00:00
|
|
|
sha256 = "922e06ef8839c92bd3ab37a84db6058b8764f3fe44dbb4487bbca941d288280a";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|