diff options
author | R. RyanTM <ryantm-bot@ryantm.com> | 2020-11-30 02:56:23 +0000 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2020-12-01 23:08:11 -0800 |
commit | ce9e06d376f3325a3243253acd1d594ea23dc153 (patch) | |
tree | 47d5885f6fb229c89beb8a18e2431818e23548a8 /pkgs/development/python-modules/flake8-debugger | |
parent | d14c0d0b6b97727247bfa596fdba1c02fdf177e9 (diff) |
python37Packages.flake8-debugger: 3.2.1 -> 4.0.0
Diffstat (limited to 'pkgs/development/python-modules/flake8-debugger')
-rw-r--r-- | pkgs/development/python-modules/flake8-debugger/default.nix | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/flake8-debugger/default.nix b/pkgs/development/python-modules/flake8-debugger/default.nix index 81b903621b524..46c63ec000851 100644 --- a/pkgs/development/python-modules/flake8-debugger/default.nix +++ b/pkgs/development/python-modules/flake8-debugger/default.nix @@ -1,26 +1,23 @@ -{ lib, fetchPypi, buildPythonPackage, pythonOlder +{ lib, fetchPypi, buildPythonPackage, pythonOlder, pythonAtLeast, isPy27 , flake8 -, importlib-metadata , pycodestyle -, pytestrunner -, pytest +, six +, pytestCheckHook }: buildPythonPackage rec { pname = "flake8-debugger"; - version = "3.2.1"; + version = "4.0.0"; + disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "712d7c1ff69ddf3f0130e94cc88c2519e720760bce45e8c330bfdcb61ab4090d"; + sha256 = "e43dc777f7db1481db473210101ec2df2bd39a45b149d7218a618e954177eda6"; }; - nativeBuildInputs = [ pytestrunner ]; + propagatedBuildInputs = [ flake8 pycodestyle six ]; - propagatedBuildInputs = [ flake8 pycodestyle ] - ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; - - checkInputs = [ pytest ]; + checkInputs = [ pytestCheckHook ]; # Tests not included in PyPI tarball # FIXME: Remove when https://github.com/JBKahn/flake8-debugger/pull/15 is merged |