depot/third_party/nixpkgs/pkgs/development/python-modules/django-cleanup/default.nix
Default email 68d7e71424 Project import generated by Copybara.
GitOrigin-RevId: 945ec499041db73043f745fad3b2a3a01e826081
2022-01-25 20:04:25 -08:00

20 lines
577 B
Nix

{ lib, buildPythonPackage, fetchPypi, django
}:
buildPythonPackage rec {
pname = "django-cleanup";
version = "6.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "922e06ef8839c92bd3ab37a84db6058b8764f3fe44dbb4487bbca941d288280a";
};
checkInputs = [ django ];
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";
license = licenses.mit;
maintainers = with maintainers; [ mmai ];
};
}