From 58336243fb76db477842fad2d6ba998e1ce9ab0a Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Thu, 5 Nov 2020 15:13:08 -0800 Subject: [PATCH] python3Packages.pytest-flakes: disable py2 --- pkgs/development/python-modules/pytest-flakes/default.nix | 8 ++++++-- 1 file 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 fb0011f6140..8c38544d812 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;