1{ lib, buildPythonPackage, fetchPypi, django
2}:
3
4buildPythonPackage rec {
5 pname = "django-cleanup";
6 version = "6.0.0";
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "922e06ef8839c92bd3ab37a84db6058b8764f3fe44dbb4487bbca941d288280a";
10 };
11
12 checkInputs = [ django ];
13
14 meta = with lib; {
15 description = "Automatically deletes old file for FileField and ImageField. It also deletes files on models instance deletion";
16 homepage = "https://github.com/un1t/django-cleanup";
17 license = licenses.mit;
18 maintainers = with maintainers; [ mmai ];
19 };
20}