python312Packages.django-cleanup: 8.1.0 -> 9.0.0 (#373992)

This commit is contained in:
Fabian Affolter
2025-01-15 11:30:46 +01:00
committed by GitHub
@@ -4,22 +4,28 @@
fetchPypi,
django,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "django-cleanup";
version = "8.1.0";
format = "setuptools";
version = "9.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-cN+QUHakTnoRGzEZgZmvYz3uCIduGZ5tzjbKjda4sQ8=";
pname = "django_cleanup";
inherit version;
hash = "sha256-u5+1YKr2KVnIHjH6QIhcNrvVhU1aohuQ3yx+S6YzUx4=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ django ];
pythonImportsCheck = [ "django_cleanup" ];
meta = with 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";