1{ lib, fetchPypi, buildPythonPackage, flake8, pycodestyle, pytestrunner, pytest }:
2
3buildPythonPackage rec {
4 pname = "flake8-debugger";
5 version = "3.2.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "712d7c1ff69ddf3f0130e94cc88c2519e720760bce45e8c330bfdcb61ab4090d";
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}