depot/third_party/nixpkgs/pkgs/development/python-modules/flake8-debugger/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
784 B
Nix

{ lib, fetchPypi, buildPythonPackage, flake8, pycodestyle, pytestrunner, pytest }:
buildPythonPackage rec {
pname = "flake8-debugger";
version = "3.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "712d7c1ff69ddf3f0130e94cc88c2519e720760bce45e8c330bfdcb61ab4090d";
};
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;
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;
};
}