3
0
Fork 0
forked from mirrors/nixpkgs

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
, 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;