2020-11-30 02:56:23 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pythonOlder, pythonAtLeast, isPy27
|
2020-06-16 21:59:06 +01:00
|
|
|
, flake8
|
|
|
|
, pycodestyle
|
2020-11-30 02:56:23 +00:00
|
|
|
, six
|
|
|
|
, pytestCheckHook
|
2020-06-16 21:59:06 +01:00
|
|
|
}:
|
2017-02-20 20:10:05 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "flake8-debugger";
|
2020-11-30 02:56:23 +00:00
|
|
|
version = "4.0.0";
|
|
|
|
disabled = isPy27;
|
2018-03-18 15:12:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-30 02:56:23 +00:00
|
|
|
sha256 = "e43dc777f7db1481db473210101ec2df2bd39a45b149d7218a618e954177eda6";
|
2017-02-20 20:10:05 +00:00
|
|
|
};
|
2018-03-18 15:12:48 +00:00
|
|
|
|
2020-11-30 02:56:23 +00:00
|
|
|
propagatedBuildInputs = [ flake8 pycodestyle six ];
|
2018-03-18 15:12:48 +00:00
|
|
|
|
2020-11-30 02:56:23 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2018-03-18 15:12:48 +00:00
|
|
|
|
|
|
|
# Tests not included in PyPI tarball
|
|
|
|
# FIXME: Remove when https://github.com/JBKahn/flake8-debugger/pull/15 is merged
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-02-20 20:10:05 +00:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jbkahn/flake8-debugger";
|
2017-02-20 20:10:05 +00:00
|
|
|
description = "ipdb/pdb statement checker plugin for flake8";
|
|
|
|
maintainers = with lib.maintainers; [ johbo ];
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|