diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-07-26 02:51:59 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-08-03 14:35:37 +0200 |
commit | 008c1402d2f372bc15603edaf5f1ef2a78ed0b14 (patch) | |
tree | 5288cf9c9edb266ababa275d0ef9123010c1dbc0 | |
parent | ca5c50bcf94e3f9af6f3e3456a5155ffb61bfea0 (diff) |
python310Packages.djangorestframework-guardian: mark broken with django4
and point people to the guardian2 fork.
-rw-r--r-- | pkgs/development/python-modules/djangorestframework-guardian/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/djangorestframework-guardian/default.nix b/pkgs/development/python-modules/djangorestframework-guardian/default.nix index fdc6b3184d981..4358a61b3452a 100644 --- a/pkgs/development/python-modules/djangorestframework-guardian/default.nix +++ b/pkgs/development/python-modules/djangorestframework-guardian/default.nix @@ -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"; }; } |