python3Packages.django-allauth: backport patch for dj-rest-auth compat

+10
+1
pkgs/by-name/pa/paperless-ngx/package.nix
··· 170 tag = version; 171 hash = "sha256-1HmEJ5E4Vp/CoyzUegqQXpzKUuz3dLx2EEv7dk8fq8w="; 172 }; 173 } 174 )) 175 django-auditlog
··· 170 tag = version; 171 hash = "sha256-1HmEJ5E4Vp/CoyzUegqQXpzKUuz3dLx2EEv7dk8fq8w="; 172 }; 173 + patches = [ ]; 174 } 175 )) 176 django-auditlog
+9
pkgs/development/python-modules/django-allauth/default.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitea, 5 pythonOlder, 6 python, 7 ··· 54 tag = version; 55 hash = "sha256-pwWrdWk3bARM4dKbEnUWXuyjw/rTcOjk3YXowDa+Hm8="; 56 }; 57 58 nativeBuildInputs = [ gettext ]; 59
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitea, 5 + fetchpatch, 6 pythonOlder, 7 python, 8 ··· 55 tag = version; 56 hash = "sha256-pwWrdWk3bARM4dKbEnUWXuyjw/rTcOjk3YXowDa+Hm8="; 57 }; 58 + 59 + patches = [ 60 + (fetchpatch { 61 + name = "dj-rest-auth-compat.patch"; 62 + url = "https://github.com/pennersr/django-allauth/commit/d50a9b09bada6753b52e52571d0830d837dc08ee.patch"; 63 + hash = "sha256-cFj9HEAlAITbRcR23ptzUYamoLmdtFEUVkDtv4+BBY0="; 64 + }) 65 + ]; 66 67 nativeBuildInputs = [ gettext ]; 68