python310Packages.pytest-flake8: 1.0.7 -> 1.1.1 and mark broken

https://github.com/tholo/pytest-flake8/blob/1.1.1/CHANGELOG
This commit is contained in:
Robert Schütz 2022-08-11 12:40:23 +00:00 committed by Robert Schütz
parent b52e388cb3
commit 47e7f78fcb

View File

@ -1,38 +1,37 @@
{lib, buildPythonPackage, fetchPypi, pythonOlder, fetchpatch, pytest, flake8}: { lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flake8
, pytestCheckHook
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-flake8"; pname = "pytest-flake8";
version = "1.0.7"; version = "1.1.1";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.7";
# although pytest is a runtime dependency, do not add it as format = "setuptools";
# propagatedBuildInputs in order to allow packages depend on another version
# of pytest more easily
checkInputs = [ pytest ];
propagatedBuildInputs = [ flake8 ];
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f0259761a903563f33d6f099914afef339c085085e643bee8343eb323b32dd6b"; sha256 = "ba4f243de3cb4c2486ed9e70752c80dd4b636f7ccb27d4eba763c35ed0cd316e";
}; };
# see https://github.com/tholo/pytest-flake8/pull/82/commits propagatedBuildInputs = [
patches = [ flake8
(fetchpatch {
url = "https://github.com/tholo/pytest-flake8/commit/eda4ef74c0f25b856fe282742ea206b21e94c24c.patch";
sha256 = "0kq0wshds00rk6wvkn6ccjrjyqxg7m9l7dlyaqw974asizw6byci";
})
]; ];
checkPhase = '' checkInputs = [
pytest . pytestCheckHook
''; ];
meta = { meta = {
description = "py.test plugin for efficiently checking PEP8 compliance"; description = "py.test plugin for efficiently checking PEP8 compliance";
homepage = "https://github.com/tholo/pytest-flake8"; homepage = "https://github.com/tholo/pytest-flake8";
maintainers = with lib.maintainers; [ jluttine ]; maintainers = with lib.maintainers; [ jluttine ];
license = lib.licenses.bsd2; license = lib.licenses.bsd2;
broken = true; # https://github.com/tholo/pytest-flake8/issues/87
}; };
} }