fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
43 lines
693 B
Nix
43 lines
693 B
Nix
{
|
|
azure-mgmt-cdn,
|
|
azure-mgmt-frontdoor,
|
|
boto3,
|
|
buildPythonPackage,
|
|
django-pattern-library,
|
|
elasticsearch,
|
|
freezegun,
|
|
jinja2,
|
|
python-dateutil,
|
|
python,
|
|
pytz,
|
|
wagtail,
|
|
wagtail-factories,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "wagtail-tests";
|
|
inherit (wagtail) src version;
|
|
format = "other";
|
|
|
|
dontBuild = true;
|
|
dontInstall = true;
|
|
|
|
checkInputs = [
|
|
wagtail
|
|
wagtail-factories
|
|
jinja2
|
|
freezegun
|
|
elasticsearch
|
|
azure-mgmt-cdn
|
|
python-dateutil
|
|
pytz
|
|
boto3
|
|
django-pattern-library
|
|
azure-mgmt-frontdoor
|
|
];
|
|
|
|
checkPhase = ''
|
|
export DJANGO_SETTINGS_MODULE=wagtail.test.settings
|
|
${python.interpreter} -m django test
|
|
'';
|
|
}
|