lol

python3Packages.pytest-flake8: apply patch to fix compatibility with new flake8

+10 -1
+10 -1
pkgs/development/python-modules/pytest-flake8/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , pythonOlder 4 , fetchPypi ··· 19 sha256 = "ba4f243de3cb4c2486ed9e70752c80dd4b636f7ccb27d4eba763c35ed0cd316e"; 20 }; 21 22 propagatedBuildInputs = [ 23 flake8 24 ]; ··· 32 homepage = "https://github.com/tholo/pytest-flake8"; 33 maintainers = with lib.maintainers; [ jluttine ]; 34 license = lib.licenses.bsd2; 35 - broken = true; # https://github.com/tholo/pytest-flake8/issues/87 36 }; 37 }
··· 1 { lib 2 + , fetchpatch 3 , buildPythonPackage 4 , pythonOlder 5 , fetchPypi ··· 20 sha256 = "ba4f243de3cb4c2486ed9e70752c80dd4b636f7ccb27d4eba763c35ed0cd316e"; 21 }; 22 23 + patches = [ 24 + # https://github.com/tholo/pytest-flake8/issues/87 25 + # https://github.com/tholo/pytest-flake8/pull/88 26 + (fetchpatch { 27 + url = "https://github.com/tholo/pytest-flake8/commit/976e6180201f7808a3007c8c5903a1637b18c0c8.patch"; 28 + hash = "sha256-Hbcpz4fTXtXRnIWuKuDhOVpGx9H1sdQRKqxadk2s+uE="; 29 + }) 30 + ]; 31 + 32 propagatedBuildInputs = [ 33 flake8 34 ]; ··· 42 homepage = "https://github.com/tholo/pytest-flake8"; 43 maintainers = with lib.maintainers; [ jluttine ]; 44 license = lib.licenses.bsd2; 45 }; 46 }