1{ lib, fetchPypi, buildPythonPackage, flake8, pycodestyle, pytestrunner, pytest }:
2
3buildPythonPackage rec {
4 pname = "flake8-debugger";
5 version = "3.1.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "be4fb88de3ee8f6dd5053a2d347e2c0a2b54bab6733a2280bb20ebd3c4ca1d97";
10 };
11
12 nativeBuildInputs = [ pytestrunner ];
13
14 propagatedBuildInputs = [ flake8 pycodestyle ];
15
16 checkInputs = [ pytest ];
17
18 # Tests not included in PyPI tarball
19 # FIXME: Remove when https://github.com/JBKahn/flake8-debugger/pull/15 is merged
20 doCheck = false;
21
22 meta = {
23 homepage = https://github.com/jbkahn/flake8-debugger;
24 description = "ipdb/pdb statement checker plugin for flake8";
25 maintainers = with lib.maintainers; [ johbo ];
26 license = lib.licenses.mit;
27 };
28}