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