Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / django-cleanup / default.nix
blobacc94865c02be8725446ab91a8783c50ee181f53
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , django
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "django-cleanup";
10   version = "8.0.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-xzmgVUTh5I3ISIcchw2/FZX4Uz0kUjvGc2DkNWLtrw0=";
18   };
20   nativeCheckInputs = [
21     django
22   ];
24   meta = with lib; {
25     description = "Automatically deletes old file for FileField and ImageField. It also deletes files on models instance deletion";
26     homepage = "https://github.com/un1t/django-cleanup";
27     changelog = "https://github.com/un1t/django-cleanup/blob/${version}/CHANGELOG.md";
28     license = licenses.mit;
29     maintainers = with maintainers; [ mmai ];
30   };