14 buildPythonPackage rec {
15 pname = "pytest-flask";
17 format = "setuptools";
19 disabled = pythonOlder "3.7";
22 inherit pname version;
23 hash = "sha256-WL4cl7Ibo8TUfgp2ketBAHdIUGw2v1EAT3jfEGkfqV4=";
26 nativeBuildInputs = [ setuptools-scm ];
28 buildInputs = [ pytest ];
30 propagatedBuildInputs = [
35 nativeCheckInputs = [ pytestCheckHook ];
37 pythonImportsCheck = [ "pytest_flask" ];
39 pytestFlagsArray = lib.optionals stdenv.hostPlatform.isDarwin [
40 "--ignore=tests/test_live_server.py"
44 description = "Set of pytest fixtures to test Flask applications";
45 homepage = "https://pytest-flask.readthedocs.io/";
46 changelog = "https://github.com/pytest-dev/pytest-flask/blob/${version}/docs/changelog.rst";
47 license = licenses.mit;
48 maintainers = with maintainers; [ vanschelven ];