2020-10-19 00:13:06 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, flask, werkzeug, setuptools_scm, isPy27 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-flask";
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "1.1.0";
|
2020-10-19 00:13:06 +00:00
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "9c136afd6d0fb045b0b8fd2363421b6670bfebd21d9141f79669d9051c9d2d05";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-10-19 00:13:06 +00:00
|
|
|
pytest
|
2020-04-24 23:36:52 +00:00
|
|
|
flask
|
|
|
|
werkzeug
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/pytest-dev/pytest-flask/";
|
|
|
|
license = licenses.mit;
|
|
|
|
description = "A set of py.test fixtures to test Flask applications";
|
|
|
|
maintainers = with maintainers; [ vanschelven ];
|
|
|
|
};
|
|
|
|
}
|