python310Packages.djangorestframework-guardian: mark broken with django4

and point people to the guardian2 fork.
This commit is contained in:
Martin Weinelt 2023-07-26 02:51:59 +02:00
parent ca5c50bcf9
commit 008c1402d2
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, django-guardian
, djangorestframework
}:
@ -37,5 +38,7 @@ buildPythonPackage rec {
homepage = "https://github.com/rpkilby/django-rest-framework-guardian";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
# unmaintained, last compatible version is 3.x, use djangorestframework-guardian2 instead
broken = lib.versionAtLeast django.version "4";
};
}