13 buildPythonPackage rec {
14 pname = "pytest-django";
19 pname = "pytest_django";
21 hash = "sha256-i/e8NYya5vb8UbbOuxkP4gISGW5oBxIfEb1qOwNCgxQ=";
29 buildInputs = [ pytest ];
31 dependencies = [ django ];
35 # pytest-xidst causes random errors in the form of: django.db.utils.OperationalError: no such table: app_item
40 # bring pytest_django_test module into PYTHONPATH
41 export PYTHONPATH="$PWD:$PYTHONPATH"
43 # test the lightweight sqlite flavor
44 export DJANGO_SETTINGS_MODULE="pytest_django_test.settings_sqlite"
47 __darwinAllowLocalNetworking = true;
50 changelog = "https://github.com/pytest-dev/pytest-django/blob/v${version}/docs/changelog.rst";
51 description = "Pytest plugin for testing of Django applications";
52 homepage = "https://pytest-django.readthedocs.org/en/latest/";
53 license = licenses.bsd3;