forked from mirrors/nixpkgs
python3Packages.pytest-flakes: disable py2
This commit is contained in:
parent
9d04b89380
commit
58336243fb
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue