aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-flakes/default.nix
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-11-05 15:13:08 -0800
committerJonathan Ringer <jonringer117@gmail.com>2020-11-05 15:47:10 -0800
commit58336243fb76db477842fad2d6ba998e1ce9ab0a (patch)
tree4040beb85639794e8c7de1b250eeb7d0eed22798 /pkgs/development/python-modules/pytest-flakes/default.nix
parent9d04b893808f2ffd31e01d26e0e12c323b371314 (diff)
python3Packages.pytest-flakes: disable py2
Diffstat (limited to '')
-rw-r--r--pkgs/development/python-modules/pytest-flakes/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pytest-flakes/default.nix b/pkgs/development/python-modules/pytest-flakes/default.nix
index fb0011f61408..8c38544d8120 100644
--- a/pkgs/development/python-modules/pytest-flakes/default.nix
+++ b/pkgs/development/python-modules/pytest-flakes/default.nix
@@ -1,11 +1,15 @@
-{ stdenv, buildPythonPackage, fetchPypi
-, pytestpep8, pytest, pyflakes }:
+{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
+, pytestpep8
+, pytest
+, pyflakes
+}:
buildPythonPackage rec {
# upstream has abandoned project in favor of pytest-flake8
# retaining package to not break other packages
pname = "pytest-flakes";
version = "4.0.2";
+ disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;