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";
|
2018-02-17 13:19:45 +00:00
|
|
|
version = "3.1.0";
|
2018-03-18 15:12:48 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-17 13:19:45 +00:00
|
|
|
sha256 = "be4fb88de3ee8f6dd5053a2d347e2c0a2b54bab6733a2280bb20ebd3c4ca1d97";
|
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;
|
|
|
|
};
|
|
|
|
}
|