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