about summary refs log tree commit diff
path: root/pkgs/development/python-modules/django-cleanup/default.nix
blob: 9a399ed6ed94acdda39a70116fb49cb96e5b67c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, buildPythonPackage, fetchPypi, django
}:

buildPythonPackage rec {
  pname = "django-cleanup";
  version = "6.0.0";
  src = fetchPypi {
    inherit pname version;
    sha256 = "922e06ef8839c92bd3ab37a84db6058b8764f3fe44dbb4487bbca941d288280a";
  };

  checkInputs = [ django ];

  meta = with lib; {
    description = "Automatically deletes old file for FileField and ImageField. It also deletes files on models instance deletion";
    homepage = "https://github.com/un1t/django-cleanup";
    license = licenses.mit;
    maintainers = with maintainers; [ mmai ];
  };
}