1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 attrs, 6 flake8, 7 pytestCheckHook, 8 pythonOlder, 9 hypothesis, 10 hypothesmith, 11}: 12 13buildPythonPackage rec { 14 pname = "flake8-bugbear"; 15 version = "24.12.12"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "PyCQA"; 22 repo = "flake8-bugbear"; 23 tag = version; 24 hash = "sha256-ZMIpQUF+aXiq2NG0v19UwhWszrW/l50aJmG4YDV0+Wg="; 25 }; 26 27 propagatedBuildInputs = [ 28 attrs 29 flake8 30 ]; 31 32 nativeCheckInputs = [ 33 flake8 34 pytestCheckHook 35 hypothesis 36 hypothesmith 37 ]; 38 39 meta = with lib; { 40 description = "Plugin for Flake8 to find bugs and design problems"; 41 homepage = "https://github.com/PyCQA/flake8-bugbear"; 42 changelog = "https://github.com/PyCQA/flake8-bugbear/blob/${version}/README.rst#change-log"; 43 longDescription = '' 44 A plugin for flake8 finding likely bugs and design problems in your 45 program. 46 ''; 47 license = licenses.mit; 48 maintainers = with maintainers; [ newam ]; 49 }; 50}