1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/flake8-debugger/default.nix

36 lines
886 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage, pythonOlder
, flake8
, importlib-metadata
, pycodestyle
, pytestrunner
, pytest
}:
2017-02-20 20:10:05 +00:00
buildPythonPackage rec {
pname = "flake8-debugger";
version = "3.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "712d7c1ff69ddf3f0130e94cc88c2519e720760bce45e8c330bfdcb61ab4090d";
2017-02-20 20:10:05 +00:00
};
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ flake8 pycodestyle ]
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
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";
2017-02-20 20:10:05 +00:00
description = "ipdb/pdb statement checker plugin for flake8";
maintainers = with lib.maintainers; [ johbo ];
license = lib.licenses.mit;
};
}