2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, flask, werkzeug, setuptools_scm, isPy27 }:
|
2019-05-17 13:42:21 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-flask";
|
2020-11-29 14:04:39 +00:00
|
|
|
version = "1.1.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-11-29 14:04:39 +00:00
|
|
|
sha256 = "9c136afd6d0fb045b0b8fd2363421b6670bfebd21d9141f79669d9051c9d2d05";
|
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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-05-17 13:42:21 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|