mob next [ci-skip] [ci skip] [skip ci]
lastFile:pkgs/python/django-dbbackup/default.nix
This commit is contained in:
@@ -61,7 +61,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
cryptography
|
cryptography
|
||||||
distutils
|
distutils
|
||||||
dj-rest-auth
|
dj-rest-auth
|
||||||
django_4
|
django
|
||||||
django-allauth
|
django-allauth
|
||||||
django-allauth.optional-dependencies.openid
|
django-allauth.optional-dependencies.openid
|
||||||
django-allauth.optional-dependencies.mfa
|
django-allauth.optional-dependencies.mfa
|
||||||
@@ -124,9 +124,9 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
fido2
|
fido2
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = with python3.pkgs; [ django-slowtests ];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
substituteInPlace src/backend/InvenTree/InvenTree/settings.py --replace-fail "django_slowtests.testrunner.DiscoverSlowestTestsRunner" "django.test.runner.DiscoverRunner"
|
||||||
|
|
||||||
mkdir -p $out/opt/inventree
|
mkdir -p $out/opt/inventree
|
||||||
cp -r . $out/opt/inventree
|
cp -r . $out/opt/inventree
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
setuptools,
|
setuptools,
|
||||||
wheel,
|
wheel,
|
||||||
django_4,
|
django,
|
||||||
pytz,
|
pytz,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
django_4
|
django
|
||||||
pytz
|
pytz
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
setuptools,
|
setuptools,
|
||||||
wheel,
|
wheel,
|
||||||
django_4,
|
django,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
wheel
|
wheel
|
||||||
];
|
];
|
||||||
|
|
||||||
dependencies = [ django_4 ];
|
dependencies = [ django ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "django_slowtests" ];
|
pythonImportsCheck = [ "django_slowtests" ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user