1{ lib 2, buildPythonPackage 3, fetchPypi 4, flake8 5, pycodestyle 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "flake8-debugger"; 12 version = "4.1.2"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-UrACVglB422b+Ab8olI9x/uFYKKV1fGm4VrC3tenOEA="; 20 }; 21 22 propagatedBuildInputs = [ 23 flake8 24 pycodestyle 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ 32 "flake8_debugger" 33 ]; 34 35 meta = with lib; { 36 description = "ipdb/pdb statement checker plugin for flake8"; 37 homepage = "https://github.com/jbkahn/flake8-debugger"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ johbo ]; 40 }; 41}