Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi, django 2, redis, async-timeout, hiredis 3}: 4 5buildPythonPackage rec { 6 pname = "django-cleanup"; 7 version = "5.0.0"; 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "84f0c0e0a74545adae4c944a76ccf8fb0c195dddccf3b7195c59267abb7763dd"; 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}