python3Packages.pytest-flakes: disable py2

This commit is contained in:
Jonathan Ringer 2020-11-05 15:13:08 -08:00
parent 9d04b89380
commit 58336243fb

View file

@ -1,11 +1,15 @@
{ stdenv, buildPythonPackage, fetchPypi { stdenv, buildPythonPackage, fetchPypi, pythonOlder
, pytestpep8, pytest, pyflakes }: , pytestpep8
, pytest
, pyflakes
}:
buildPythonPackage rec { buildPythonPackage rec {
# upstream has abandoned project in favor of pytest-flake8 # upstream has abandoned project in favor of pytest-flake8
# retaining package to not break other packages # retaining package to not break other packages
pname = "pytest-flakes"; pname = "pytest-flakes";
version = "4.0.2"; version = "4.0.2";
disabled = pythonOlder "3.5";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;