mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 00:14:43 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
21 lines
583 B
Nix
21 lines
583 B
Nix
{ lib, buildPythonPackage, fetchPypi, django
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-cleanup";
|
|
version = "6.0.0";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "922e06ef8839c92bd3ab37a84db6058b8764f3fe44dbb4487bbca941d288280a";
|
|
};
|
|
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|