13 buildPythonPackage rec {
14 pname = "flake8-polyfill";
19 inherit pname version;
20 sha256 = "1nlf1mkqw856vi6782qcglqhaacb23khk9wkcgn55npnjxshhjz4";
23 build-system = [ setuptools ];
25 dependencies = [ flake8 ];
34 # Skip unnecessary tests on Flake8, https://github.com/PyCQA/pep8-naming/pull/181
36 name = "skip-tests.patch";
37 url = "https://github.com/PyCQA/flake8-polyfill/commit/3cf414350e82ceb835ca2edbd5d5967d33e9ff35.patch";
38 sha256 = "mElZafodq8dF3wLO/LOqwFb7eLMsPLlEjNSu5AWqets=";
43 # Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead.
44 substituteInPlace setup.cfg \
45 --replace-fail pytest 'tool:pytest'
48 pythonImportsCheck = [ "flake8_polyfill" ];
51 homepage = "https://gitlab.com/pycqa/flake8-polyfill";
52 description = "Polyfill package for Flake8 plugins";
53 license = licenses.mit;
54 maintainers = with maintainers; [ eadwu ];