Merge pull request #193208 from misuzu/pytest-flake8-patch

python3Packages.pytest-flake8: apply patch to fix compatibility with new flake8
This commit is contained in:
Fabian Affolter 2022-09-29 08:30:29 +02:00 committed by GitHub
commit e4f48619b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib
, fetchpatch
, buildPythonPackage
, pythonOlder
, fetchPypi
@ -19,6 +20,15 @@ buildPythonPackage rec {
sha256 = "ba4f243de3cb4c2486ed9e70752c80dd4b636f7ccb27d4eba763c35ed0cd316e";
};
patches = [
# https://github.com/tholo/pytest-flake8/issues/87
# https://github.com/tholo/pytest-flake8/pull/88
(fetchpatch {
url = "https://github.com/tholo/pytest-flake8/commit/976e6180201f7808a3007c8c5903a1637b18c0c8.patch";
hash = "sha256-Hbcpz4fTXtXRnIWuKuDhOVpGx9H1sdQRKqxadk2s+uE=";
})
];
propagatedBuildInputs = [
flake8
];
@ -32,6 +42,5 @@ buildPythonPackage rec {
homepage = "https://github.com/tholo/pytest-flake8";
maintainers = with lib.maintainers; [ jluttine ];
license = lib.licenses.bsd2;
broken = true; # https://github.com/tholo/pytest-flake8/issues/87
};
}