lol

python311Packages.pyflakes: patch test

+9
+9
pkgs/development/python-modules/pyflakes/default.nix
··· 2 2 , buildPythonPackage 3 3 , pythonOlder 4 4 , fetchPypi 5 + , fetchpatch, isPy311 5 6 , pytestCheckHook 6 7 }: 7 8 ··· 17 18 inherit pname version; 18 19 hash = "sha256-7IsnamtgvYDe/tJa3X5DmIHBnmSFCv2bNGKD1BZf0P0="; 19 20 }; 21 + 22 + patches = lib.optional isPy311 # could be made unconditional on rebuild 23 + (fetchpatch { 24 + name = "tests-py311.patch"; 25 + url = "https://github.com/PyCQA/pyflakes/commit/836631f2f73d45baa4021453d89fc9fd6f52be58.diff"; 26 + hash = "sha256-xlgql+bN0HsGnTMkwax3ZG/5wrbkUl/kQkjlr3lsgRw="; 27 + }) 28 + ; 20 29 21 30 nativeCheckInputs = [ 22 31 pytestCheckHook