mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python311Packages.pyflakes: patch test
(cherry picked from commit d4f6cac30b)
This commit is contained in:
committed by
Martin Weinelt
parent
68442f0998
commit
1937197ed3
@@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, fetchpatch, isPy311
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
@@ -18,6 +19,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-7IsnamtgvYDe/tJa3X5DmIHBnmSFCv2bNGKD1BZf0P0=";
|
||||
};
|
||||
|
||||
patches = lib.optional isPy311 # could be made unconditional on rebuild
|
||||
(fetchpatch {
|
||||
name = "tests-py311.patch";
|
||||
url = "https://github.com/PyCQA/pyflakes/commit/836631f2f73d45baa4021453d89fc9fd6f52be58.diff";
|
||||
hash = "sha256-xlgql+bN0HsGnTMkwax3ZG/5wrbkUl/kQkjlr3lsgRw=";
|
||||
})
|
||||
;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user