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