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";
|
2018-02-17 14:19:45 +01:00
|
|
|
version = "3.1.0";
|
2018-03-18 16:12:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-17 14:19:45 +01:00
|
|
|
sha256 = "be4fb88de3ee8f6dd5053a2d347e2c0a2b54bab6733a2280bb20ebd3c4ca1d97";
|
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 = {
|
|
|
|
homepage = https://github.com/jbkahn/flake8-debugger;
|
|
|
|
description = "ipdb/pdb statement checker plugin for flake8";
|
|
|
|
maintainers = with lib.maintainers; [ johbo ];
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|