aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/django-cleanup/default.nix
blob: 37b0959b6b7566ee10549032baa4423ea8949778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, buildPythonPackage, fetchPypi, django
, redis, async-timeout, hiredis
}:

buildPythonPackage rec {
  pname = "django-cleanup";
  version = "4.0.0";
  src = fetchPypi {
    inherit pname version;
    sha256 = "195hkany3iwg4wb4cbdrdmanxcahjl87n8v03dbamanx2ya3yb21";
  };

  checkInputs = [ django ];

  meta = with stdenv.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 ];
  };
}