Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 21 lines 605 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, django 2, redis, async-timeout, hiredis 3}: 4 5buildPythonPackage rec { 6 pname = "django-cleanup"; 7 version = "4.0.0"; 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "195hkany3iwg4wb4cbdrdmanxcahjl87n8v03dbamanx2ya3yb21"; 11 }; 12 13 checkInputs = [ django ]; 14 15 meta = with stdenv.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}