python3Packages.pyflakes: 3.0.1 -> 3.1.0
This commit is contained in:
@@ -2,13 +2,12 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, fetchpatch, isPy311
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyflakes";
|
||||
version = "3.0.1";
|
||||
version = "3.1.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@@ -16,17 +15,9 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-7IsnamtgvYDe/tJa3X5DmIHBnmSFCv2bNGKD1BZf0P0=";
|
||||
hash = "sha256-oKrgNMRE2wBxqgd5crpHaNQMgw2VOf1Fv0zT+PaZLvw=";
|
||||
};
|
||||
|
||||
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