2018-03-18 15:12:48 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, flake8, pycodestyle, pytestrunner, pytest }:
|
2017-02-20 20:10:05 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "flake8-debugger";
|
2019-11-19 14:35:35 +00:00
|
|
|
version = "3.2.1";
|
2018-03-18 15:12:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-19 14:35:35 +00:00
|
|
|
sha256 = "712d7c1ff69ddf3f0130e94cc88c2519e720760bce45e8c330bfdcb61ab4090d";
|
2017-02-20 20:10:05 +00:00
|
|
|
};
|
2018-03-18 15:12:48 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pytestrunner ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ flake8 pycodestyle ];
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
# 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 = {
|
|
|
|
homepage = https://github.com/jbkahn/flake8-debugger;
|
|
|
|
description = "ipdb/pdb statement checker plugin for flake8";
|
|
|
|
maintainers = with lib.maintainers; [ johbo ];
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|