Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 21 lines 609 B view raw
1{ lib, buildPythonPackage, fetchPypi, django 2, redis, async-timeout, hiredis 3}: 4 5buildPythonPackage rec { 6 pname = "django-cleanup"; 7 version = "5.1.0"; 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "8976aec12a22913afb3d1fcb541b1aedde2f5ec243e4260c5ff78bb6aa75a089"; 11 }; 12 13 checkInputs = [ django ]; 14 15 meta = with lib; { 16 description = "Automatically deletes old file for FileField and ImageField. It also deletes files on models instance deletion"; 17 homepage = "https://github.com/un1t/django-cleanup"; 18 license = licenses.mit; 19 maintainers = with maintainers; [ mmai ]; 20 }; 21}