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 {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-flask";
|
pname = "pytest-flask";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
@ -11,11 +12,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
pytest
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
pytest
|
||||||
flask
|
flask
|
||||||
werkzeug
|
werkzeug
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user