Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, isPyPy, fetchFromGitHub, setuptools, mccabe, pycodestyle, pyflakes, pytestCheckHook,}:
buildPythonPackage rec { pname = "flake8"; version = "7.3.0"; pyproject = true;
src = fetchFromGitHub { owner = "PyCQA"; repo = "flake8"; tag = version; hash = "sha256-dZFIGyjqkd+MRz9NoOEcMuR9ZshFb/h+zO2OJZsQajc="; };
build-system = [ setuptools ];
dependencies = [ mccabe pycodestyle pyflakes ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = lib.optionals isPyPy [ # tests fail due to slightly different error position "test_tokenization_error_is_a_syntax_error" "test_tokenization_error_but_not_syntax_error" ];
meta = { changelog = "https://github.com/PyCQA/flake8/blob/${src.tag}/docs/source/release-notes/${version}.rst"; description = "Modular source code checker: pep8, pyflakes and co"; homepage = "https://github.com/PyCQA/flake8"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; mainProgram = "flake8"; };}