forked from mirrors/nixpkgs
pythonPackages.django-cleanup: init at 4.0.0
This commit is contained in:
parent
9e0e61a912
commit
80dd6fb33b
21
pkgs/development/python-modules/django-cleanup/default.nix
Normal file
21
pkgs/development/python-modules/django-cleanup/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, django
|
||||
, redis, async-timeout, hiredis
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-cleanup";
|
||||
version = "4.0.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "195hkany3iwg4wb4cbdrdmanxcahjl87n8v03dbamanx2ya3yb21";
|
||||
};
|
||||
|
||||
checkInputs = [ django ];
|
||||
|
||||
meta = with stdenv.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 ];
|
||||
};
|
||||
}
|
|
@ -2913,6 +2913,8 @@ in {
|
|||
|
||||
django-cache-url = callPackage ../development/python-modules/django-cache-url { };
|
||||
|
||||
django-cleanup = callPackage ../development/python-modules/django-cleanup { };
|
||||
|
||||
django-configurations = callPackage ../development/python-modules/django-configurations { };
|
||||
|
||||
django_compressor = callPackage ../development/python-modules/django_compressor { };
|
||||
|
|
Loading…
Reference in a new issue