Something went wrong. Try again.
lol
Something went wrong. Try again.
801 B · 33 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334{ lib, buildPythonPackage, fetchPypi, django, setuptools,}:
buildPythonPackage rec { pname = "django-cleanup"; version = "9.0.0"; pyproject = true;
src = fetchPypi { pname = "django_cleanup"; inherit version; hash = "sha256-u5+1YKr2KVnIHjH6QIhcNrvVhU1aohuQ3yx+S6YzUx4="; };
build-system = [ setuptools ];
nativeCheckInputs = [ django ];
pythonImportsCheck = [ "django_cleanup" ];
meta = { description = "Automatically deletes old file for FileField and ImageField. It also deletes files on models instance deletion"; homepage = "https://github.com/un1t/django-cleanup"; changelog = "https://github.com/un1t/django-cleanup/blob/${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mmai ]; };}