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