python3Package.pytest-flask: remove support for python 2.7
As stated in its changelog [1], python 2.7 is no longer supported. [1] https://github.com/pytest-dev/pytest-flask/blob/master/docs/changelog.rst
This commit is contained in:
parent
ec55608ae2
commit
e07cf5d4bf
@ -1,8 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, flask, werkzeug, setuptools_scm }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, flask, werkzeug, setuptools_scm, isPy27 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-flask";
|
||||
version = "1.0.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -11,11 +12,8 @@ buildPythonPackage rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pytest
|
||||
flask
|
||||
werkzeug
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user