2020-10-14 22:11:44 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, flask, werkzeug, setuptools_scm, isPy27 }:
|
2019-05-17 13:42:21 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-flask";
|
2020-06-06 07:47:27 +01:00
|
|
|
version = "1.0.0";
|
2020-10-14 22:11:44 +01:00
|
|
|
disabled = isPy27;
|
2019-05-17 13:42:21 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:27 +01:00
|
|
|
sha256 = "4d5678a045c07317618d80223ea124e21e8acc89dae109542dd1fdf6783d96c2";
|
2019-05-17 13:42:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2020-10-14 22:11:44 +01:00
|
|
|
pytest
|
2019-05-17 13:42:21 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|