lol

python311Packages.drf-spectacular: fix tests

by applying a patch submitted upstream.

+9
+9
pkgs/development/python-modules/drf-spectacular/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , dj-rest-auth 5 6 , django 6 7 , django-allauth ··· 36 37 rev = "refs/tags/${version}"; 37 38 hash = "sha256-sK+upLh0mi8eHKh1Wt9FoLRjqlHitTSX0Zl54S4Ce6E="; 38 39 }; 40 + 41 + patches = [ 42 + (fetchpatch { 43 + # https://github.com/tfranzel/drf-spectacular/pull/1090 44 + url = "https://github.com/tfranzel/drf-spectacular/commit/8db4c2458f8403c53db0db352dd94057d285814b.patch"; 45 + hash = "sha256-Ue5y7IB4ie+9CEineMBgMMCLGiF4zqmn60TJvKsV1h0="; 46 + }) 47 + ]; 39 48 40 49 propagatedBuildInputs = [ 41 50 django